Mouse press state gets weird on right click (context menu)

Just an example here:
To reproduce:

go to the example
hover mouse over canvas
press right mouse button
close it by clicking left mouse button anywhere within the app
mouse button state is pressed even if I don't press the mouse -> continuously drawing on canvas

mouse right click spot
mouse left click spot
the line after this is drawn without any mouse buttons pressed

Note that this screws up other ui elements aswell:

Buttons become partially irresponsive
Windows can't be moved
(These are harder to reproduce but happen for some combinations of right-and-then-left-click positions)

Additional infos:

I reproduced this behavior both in Chromium and Firefox
Just a thought: Maybe the issue comes from egui itself, I wasn't able to test that

Hi @RobWalt! Thanks for creating the issue.
We should try to look into what kind of events winit fires, maybe bevy_egui fails to react to something, or winit doesn't fire them at all after closing the context menu - in that case the issue has to be tracked there. Or maybe even browsers don't fire the mouse release event...
But if you don't actually need native context menus in your app, this is easy to workaround if you disable the context menu for canvas.
I haven't got a chance to document it in bevy_egui and I'm not sure whether what's the preferable way to do it, but here's how I implemented it in my pet project:
https://github.com/mvlabat/muddle-run/blob/8ed517ec88fe2ca1a159e0826ecc1332f441f131/bins/web_client/index.html#L121

I'm finally finding time to work on this. My first tests so far bring the following news:

the issue isn't reproducible (for me) when running a test application with wasm-server-runner. It seems like opening the context menu isn't possible with that.
when compiling to wasm and packing with wasm-bindgen the issue is reproducible

I started with logging the MouseButton::pressed events from bevy and it seems like the right mouse button is permanently pressed after the first click. Looking further into that and into your suggestions. Thanks for the inputs! @mvlabat

I cloned bevy and sneaked a log message into the event_handler which is used to handle the raw winit::Events. It seems like the issue doesn't stem from winit as the winit log messages stop, while MouseButton::Right events still happen

I still need to check wether winit fires the release event though...

Yeah, seems like you were right. The release event isn't fired for right clicks.

I opened an issue upstream in the winit repo

This was partially solved upstream in a way so that it's fine for me to close the issue here.


Pascal's triangle solution in C++

Pascal's triangle solution in C++ (optimized)
Issue #8
@Iltwats Here's my contribution to this issue.

Add your code to the mathematical section.


Invalid reference to raven-set cxy. error: 'class cxy' has no member named 'zoom'

C:\e\Projects\projwjb\Recipe>mingw32-make.exe recipe -f .vscode\makefile
g++  -std=c++17 -g -D_mingw_ -Dvase
-c -o .vscode/obj/cRecipeGUI.o ./src/cRecipeGUI.cpp -I./src -I./src/ext -I./models -I./models/basic -I../windex/include -I../raven-set -I../../code_ext/boost/boost1_78
./src/cRecipeGUI.cpp: In member function 'void cRecipeGUI::drawArrow(wex::shapes&, const cxy&, const cxy&)':
./src/cRecipeGUI.cpp:240:13: error: 'class cxy' has no member named 'zoom'
240 |     vecLine.zoom(nWidth / sqrt(exit.dist2(entry)));
|             ^~~~
./src/cRecipeGUI.cpp:246:25: error: no match for 'operator-' (operand types are 'cxy' and 'cxy')
246 |     arrow[1] = arrow[0] - vecLine;
|                ~~~~~~~~ ^ ~~~~~~~
|                       |   |
|                       cxy cxy
./src/cRecipeGUI.cpp:247:25: error: no match for 'operator+' (operand types are 'cxy' and 'cxy')
247 |     arrow[2] = arrow[1] + baseLine;
|                ~~~~~~~~ ^ ~~~~~~~~
|                       |   |
|                       cxy cxy
./src/cRecipeGUI.cpp:248:25: error: no match for 'operator-' (operand types are 'cxy' and 'cxy')
248 |     arrow[3] = arrow[1] - baseLine;
|                ~~~~~~~~ ^ ~~~~~~~~
|                       |   |
|                       cxy cxy
./src/cRecipeGUI.cpp:250:11: error: no matching function for call to 'wex::shapes::line(cxy&, cxy&)'
250 |     S.line(arrow[4], arrow[0]);
|     ^~~~~~~~~~~~~~
In file included from ./src/cRecipeGUI.cpp:8:
../windex/include/wex.h:619:14: note: candidate: 'void wex::shapes::line(const std::vector&)'
619 |         void line(const std::vector &v)
|              ^~~~
../windex/include/wex.h:619:14: note:   candidate expects 1 argument, 2 provided
./src/cRecipeGUI.cpp:251:11: error: no matching function for call to 'wex::shapes::line(cxy&, cxy&)'
251 |     S.line(arrow[0], arrow[2]);
|     ^~~~~~~~~~~~~~
../windex/include/wex.h:619:14: note: candidate: 'void wex::shapes::line(const std::vector&)'
619 |         void line(const std::vector &v)
|              ^~~~
../windex/include/wex.h:619:14: note:   candidate expects 1 argument, 2 provided
./src/cRecipeGUI.cpp:252:11: error: no matching function for call to 'wex::shapes::line(cxy&, cxy&)'
252 |     S.line(arrow[0], arrow[3]);
|     ^~~~~~~~~~~~~~
../windex/include/wex.h:619:14: note: candidate: 'void wex::shapes::line(const std::vector&)'
619 |         void line(const std::vector &v)
|              ^~~~
../windex/include/wex.h:619:14: note:   candidate expects 1 argument, 2 provided
mingw32-make: *** [.vscode\makefile:44: .vscode/obj/cRecipeGUI.o] Error 1

You need to get the latest version from the raven-set repository

I did

You are one commit behind.

Note: you will also have to update your windex clone.

No more reference error after updating windex and raven-set


Adding User Agent suffix when Bulk mode is on

Pull Request Template
Description
In order to have visibility on requests having Bulk mode on, this PR adds a suffix when the feature is on.
Also, fixes the casing in WithBulkexecution to be WithBulkExecution for the builder extension.
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

Change log please.


Incremental Migration of Flowise from CRA to Vite with TypeScript Support

Incremental Migration to Vite with TypeScript Support
Overview
This document outlines our strategy for incrementally migrating the Flowise project from Create React App (CRA) to Vite, with TypeScript integration. We will use a dedicated branch for this migration, periodically syncing with the main branch, and eventually merge back once the migration is complete and stable.
Migration Strategy
Dedicated Migration Branch

Branch Name: vite-typescript-migration
Purpose: Serve as the primary workspace for the migration process.
Process:

This branch will coexist with the main branch.
Regularly pull updates from main to keep the migration branch up-to-date.
Gradually implement Vite and TypeScript features in this branch.

Syncing with Main Branch

Frequency: Regular intervals (e.g., weekly) or after significant updates in main.
Purpose: Ensure the migration branch reflects the latest codebase, minimizing integration conflicts.
Process:

Pull the latest changes from main into vite-typescript-migration.
Resolve any conflicts and ensure stability with the new changes.

Migration Steps

Initial Setup:

Set up basic Vite configuration.
Establish TypeScript support for new and existing components.

Incremental Implementation:

Gradually convert components/modules to use Vite and TypeScript.
Test extensively after each conversion.

Continuous Integration and Testing:

Ensure that CI pipelines are adapted to handle the new setup.
Regularly run tests to maintain code quality and functionality.

Final Review and Optimization:

Before merging, conduct a thorough review.
Optimize for performance, readability, and maintainability.

Merging to Main:

Once the migration is complete and stable, plan for merging into main.
Coordinate with the team for a final review and approval.
Merge vite-typescript-migration into main.

Benefits

Non-Disruptive: Allows ongoing development in main without interruption.
Risk Mitigation: Enables testing and gradual implementation, reducing risks.
Smooth Transition: Facilitates a controlled and monitored shift to the new setup.

This PR is to use Vite, but still in JS. After merging this in, we can slowly port to typescript

Sure, I'll have a look at that PR. It's funny, I was actually thinking about doing that myself! Once I get it sorted out, I might just write up a post for Substack about how we did the migration at Flowise. It could be a neat way to share our journey and maybe help others who are looking to do the same.


Hi, I  don't understand permute function

Hello， @jhjacobsen
I am a newcomer to deep learning. I read your source code and there are a few things I don’t understand.
Why is the permute function so used?
class injective_pad(nn.Module):
    def __init__(self, pad_size):
        super(injective_pad, self).__init__()
        self.pad_size = pad_size
        self.pad = nn.ZeroPad2d((0, 0, 0, pad_size))

    def forward(self, x):
        x = x.permute(0, 2, 1, 3)
        x = self.pad(x)
        return x.permute(0, 2, 1, 3)

    def inverse(self, x):
        return x[:, :x.size(1) - self.pad_size, :, :]

And this,
class psi(nn.Module):
    def __init__(self, block_size):
        super(psi, self).__init__()
        self.block_size = block_size
        self.block_size_sq = block_size*block_size

    def inverse(self, input):
        output = input.permute(0, 2, 3, 1)
        (batch_size, d_height, d_width, d_depth) = output.size()
        s_depth = int(d_depth / self.block_size_sq)
        s_width = int(d_width * self.block_size)
        s_height = int(d_height * self.block_size)
        t_1 = output.contiguous().view(batch_size, d_height, d_width, self.block_size_sq, s_depth)
        spl = t_1.split(self.block_size, 3)
        stack = [t_t.contiguous().view(batch_size, d_height, s_width, s_depth) for t_t in spl]
        output = torch.stack(stack, 0).transpose(0, 1).permute(0, 2, 1, 3, 4).contiguous().view(batch_size, s_height, s_width, s_depth)
        output = output.permute(0, 3, 1, 2)
        return output.contiguous()

    def forward(self, input):
        output = input.permute(0, 2, 3, 1)
        (batch_size, s_height, s_width, s_depth) = output.size()
        d_depth = s_depth * self.block_size_sq
        d_height = int(s_height / self.block_size)
        t_1 = output.split(self.block_size, 2)
        stack = [t_t.contiguous().view(batch_size, d_height, d_depth) for t_t in t_1]
        output = torch.stack(stack, 1)
        output = output.permute(0, 2, 1, 3)
        output = output.permute(0, 3, 1, 2)
        return output.contiguous()

What is the role of these two class functions? Thank you.

Permute is used because pytorch pad only permits 2d padding, but we want to pad zeros on the channel axis. So we permute channels to the position of space and pad, permute back.
The psi class is explained in figure 2 of our paper: https://arxiv.org/abs/1802.07088
We call it invertible downsampling, but is also known as "squeezing" from Real-NVP, or space_to_depth and depth_to_space functions of tensorflow as used in subpixel convolutions.


AzureExtensionsOptions and AzureExtensionsContext are gone after upgrading to stable version of the library

Service
Azure OpenAI
Describe the bug
With the prerelease version I used to use AzureExtensionsOptions inside ChatCompletionsOptions to set my Azure AI Search configuration.
Then, in the response after making the call I used to use message.AzureExtensionsContext.Citations.
After upgrading to latest stable version of Azure.AI.OpenAI library all those options are gone.
I cannot find any details about it but it seems to me like a breaking change?
Any help with it, please? Maybe there's a different way to do it now.
Cheers.
Steps to reproduce

Upgrade Azure.AI.OpenAI from 2.0.0-beta.1 to 2.0.0.
Try to use this piece of code:

Code snippets
var chatCompletionsOptions = new ChatCompletionsOptions
        {
            AzureExtensionsOptions = new AzureChatExtensionsOptions()
            {
                Extensions =
                {
                    new AzureSearchChatExtensionConfiguration()
                    {
                        SearchEndpoint = new Uri(_searchSettings.SearchUri),
                        Authentication = new OnYourDataApiKeyAuthenticationOptions(searchKey),
                        IndexName = _indexName,
                        QueryType = AzureSearchQueryType.Semantic,
                        SemanticConfiguration = $"{_indexName}-semantic-config"
                    },
                },
            }
        };

...

var citations = message.AzureExtensionsContext.Citations;

OS
Windows 11
.NET version
8
Library version
2.0.0

I think you can do:
var chatCompletionsOptions = new ChatCompletionsOptions();
chatCompletionsOptions.AddDataSource(new AzureSearchChatDataSource() { ... });

I am glad it helped. Yeah, sorry for the docs not yet being great. They will get better over time.


Make ConnectionKeeper keep the connection open

Description
This PR makes ConnectionKeeper detect when the connection breaks and reopen it in a loop.
Reopening is on an 8 second cooldown to not spam the network with reconnects.
Additionally ConnectionKeeper is now able to detect that a source port collision has occured and will retry on a different port.
First a random port is chosen, then we add nr_shards and wrap around until we check all possible ports (just like piodul described in #149).
Fixed issues
Fixes: #149
Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[x] I added relevant tests for new features and bug fixes.
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[x] I added appropriate Fixes: annotations to PR description.

@piodul @psarna please review

USE KEYSPACE from #160 was merged so I need to modify ConnectionKeeper to support reconnecting while still using the correct keyspace.

Okay all fixed and ready for review


Paste as plain text

Before Submitting Your Feature Request

[X] Check that there isn't already a similar feature request to avoid creating a duplicate.
[X] I have seen the FAQ.

Problem
Hello! I would like to be able to paste text as plain without any links, effects(bold, italic, etc), etc. This applies well to pasting from popular websites like Wikipedia.
Solution
Please, consider implementing this.
Thank you, in advance!

You can enable "Paste without formatting" in settings

Yes, but I want it to work in the background with any text, whenever I paste it.

You can use Pure Paste app for this purpose.


Add GitLab social icon brand color

Resolves #1653

Of the four official brand colors documented on brandcolors.net (fca326, fc6d26, e24329, & 554488), selected e24329.
Also, there is currently only one GitLab FontAwesome icon.

Looks good, thanks for the PR.


Add libp2p bi-weekly call to IPFS Community Calendar

@mgoelzer is going to start convening bi-weekly libp2p calls. Let's give him access to the IPFS community calendar so he can add the calls there.

@mgoelzer annoyingly, you need an @ipfs.io google account in order to have edit permissions on the IPFS Calendar. I'm not sure who has the admin privileges to give you one of those accounts.

(turns out I have those admin privileges) @mgoelzer you've got an ipfs.io account and that account is able to edit the calendar.

Thanks!  It's on the IPFS Community Calendar now.

This is cool, looking forward for the calls!

Done here https://github.com/libp2p/pm#bi-weekly-call


Revert "[IRGen] Use symbolic references to (file)private entities in mangled names"

Reverts apple/swift#19848
This is causing assembler errors in the source compatibility suite ("unsupported relocation with subtraction expression").

Thank you, @gparker42 !


Add support for 256 colors

The color module currently only supports basic ANSI colors.
Support for 256 color modes would be great

Color module now supports full RGB color with fg.rgb and bg.rgb


a.pdfViewerAPI.getNextZoomInScale is not a function (caused by "undefined")

I am getting very strange error, a.pdfViewerAPI.getNextZoomInScale is not a function (caused by "undefined")
The $scope.pdfViewerAPI = {}; is undefined,
It works as a demo but when I hook it up to my app I get this error.
I use AngularJS v1.2.15;

pdfViewerAPI was not exposed in viewer, becouse I used ng-if

I am getting this error. Please help me resolve this.
file:///android_asset/www/js/libs/angular.min.js: Line 92 : TypeError: Object # has no method 'getNextZoomInScale'
at k.$scope.zoomIn (file:///android_asset/www/js/controllers/ProductPdfCtrl.js:86:39)
at file:///android_asset/www/js/libs/angular.min.js:176:88
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:65427:9
at k.$eval (file:///android_asset/www/js/libs/angular.min.js:111:373)
at k.$apply (file:///android_asset/www/js/libs/angular.min.js:112:121)
at HTMLButtonElement. (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:65426:13)
at file:///android_asset/www/js/libs/angular.min.js:31:161
at q (file:///android_asset/www/js/libs/angular.min.js:7:290)
at HTMLButtonElement.c (file:///android_asset/www/js/libs/angular.min.js:31:143)
at triggerMouseEvent (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:2953:7)


#155965539 Work in progress

What does this PR do?
Increase set timeouts and grace values for days exceeding 30
Description of Task to be completed?
User should be able to set timeouts and grace values for days exceeding 30

As a user I want to be able configure long term checks for checks longer than 30 days
As a user I want to be able to configure daily, weekly and monthly checks

How should this be manually tested?
After cloning the repo run python manage.py runserver. Navigate to your checks then click timeout period and grace period button
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#155965539
Screenshots (if appropriate)

* Setting periods to monthly and yearly

Questions:
N/A

Pull Request Test Coverage Report for Build 87

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

Totals

Change from base Build 32:
0.02%

Covered Lines:
1538

Relevant Lines:
1929

💛  - Coveralls

@PaulKariukiRimiru The title of your PR does not give context on what these new changes introduce. Please change this.


Add custom variables.json file

This imports a variables.json file at / if it exists
This way users can automate uploading variables to airflow simply by mounting a file in their compose file.

Hi,
I think you put it in the wrong place in entrypoint, airflow needs to be configured & initialized before.

@giovannic I tried implementing this putting your changes after the $CMD initdb of my entrypoint.sh (per the concern from @puckel that we need to initialize Airflow before running that command). It seems to be important to have this command in place before the webserver is started since when I had it at the end of the file it didn't seem to load the variables.
To complete the change, I also modified my docker-compose.yml to add that file as a volume. Perhaps we need both these changes to complete the implementation?


Pagination handling example

In the class list I found something related to pagination but I can't find any example using it so I'm unable to understand how to use it

Pagination is handled externally:
You'd do something like this
<Data as |d|>
  <YourTable @data={{d.records}} />
  <Pagination @meta={{d.meta}} @onNext={{...}} />
</Data>

The pagination interface in this repo was accidentally left in, and isn't actually used, afaik

Thanks
in the example above, how can I tell the table that I changed the @data (without triggering a new route)?

Why don't you want to trigger a route transition? Generally folks want table state serialized to the URL

Because I have several tables inside my page and I want to be able to paginate each one indipendently

If you move all data loading for each table into component-land instead of the route, your goal is very doable

yes that's my goal, but how do I trigger a table redraw after pressing the pagination buttons?

In the example, if records is @tracked , and your function for handling page changes updates records, there is nothing for you to do. The framework handles the update 🎉
I can share a real/runnable example later if you're still stuck

Everything works as expected, thanks!
I close this since I overlooked #163 that was already on topic


AI (Xeno) Issues

AI xenos often get stuck on doors. If too many are spawned only a few remain active and attack the players while the rest just turns into vegetables. Intended, the getting stuck however is not.
Reported by @"Herbert Falsevor#3037"

1st is coz of sliding which physics might help, 2nd is because someone spawned more than 64 which is silly.

silly man

Duplicate of #2838


Remove material dependency

Hi,
thanks for the nice library!
I noticed that you pull in compose.material here:
https://github.com/KevinnZou/compose-webview-multiplatform/blob/a45c21790b3b0dba1bec6b5cca6245d1f5775ead/webview/build.gradle.kts#L42
I think it is not required for anything but the sample app, so it would be nice to have it removed :)
My App uses material3 and pulls in material2 just for the webview.
Kind Regards,
Julian

@kalinjul Thanks for your suggestion! I will fix it in the next version. Thanks!


ol.format.WFS#writeGetFeature for WFS 1.0.0

I want to make request to WFS 1.0.0 server, but it looks like now I can't generate WFS GetFeature POST request body? Here I see that 1.1.0 version is hardcoded and gmlFormat option (ol.format.GML2 for WFS 1.0.0) is not taken into account.

PR welcome @drnextgis


Memo-ed components break useEffect in @shopify/preact-testing

// I don't know if these imports actually work, we only do the thing where we
// import from' react'/ '@shopify/react-testing' and let the tools alias
import React {memo, useEffect} from 'preact/compat';
import {mount} from '@shopify/preact-testing';

const MyComponent = memo(function MyComponent() {
  useEffect(() => {
    console.log('Should be run, but is not.')
  }, []);

  return null;
});

it('works', () => {
  const myComponent = mount(<MyComponent />);
});

@TheMallen

@lemonmade can we move this to https://github.com/Shopify/preact-testing/issues

✅


Tombstone memory improvements

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated

This PR has a number of improvements to reduce memory usage, improve performance and fix bugs related to tombstone files.

Tombstones were read into memory and then applied to TSM files.  Since we read TSM files concurrently, this could cause large memory spikes at startup.  It now loads them iteratively using a more consistent amount of memory.
V1 tombstones also read all values into memory.  This has been changed to be more iterative.
Deletes to TSM files are not applied concurrently which should improve deletes in the engine.
When tombstones are loaded, batches are used to apply each tombstone instead of reading them all into memory at once.
When tombstones were written, a bug caused the series to be add N times for each TSM files.  This cause tombstone files to be much larger than necessary and be much slower to reload.
Some TSM cursors were not closed which could cause TSM files used during a query to and also being compacted to leak.

I only took a look at the query engine portion of this, but that parts LGTM.

Just a few nits, otherwise LGTM 👍

I agree with @e-dard's nits but otherwise LGTM.

👍


Daemon() failed or unsupported: Resource temporarily unavailable

Hi, sorry to ask help but i've a problem with our script, i've tested on seveal server and i've always the same error :
Tue Jan 30 01:20:13 2018 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
Tue Jan 30 01:20:13 2018 library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
Tue Jan 30 01:20:13 2018 daemon() failed or unsupported: Resource temporarily unavailable (errno=11)
Tue Jan 30 01:20:13 2018 Exiting due to fatal error

What causes it ?
Tanks ;)

The same issue happens when OpenVPN runs on OpenVZ VM/containers.
The solution is posted on Stackoverflow

@th3karkota https://github.com/angristan/openvpn-install/blob/dea1d6db2b6611b88d7b4e94f014621fb2ad4cec/openvpn-install.sh#L824


Add and View Conditions and Allergies

Name of feature to enhance
Add ability to add and track Patient Conditions and Allergies
Describe the enhancement

AAdd a condition questionnaire
Save and Extract Condition details
Fetch practitioner details  - practitioner ID
Add an Endoucnter to record a Patient condition

Screenshot

Pre-requisite task

#857

CC @dubdabasoduba Good first test Issue

Not in the design language manuscript


Initial commit to set up the repo

A pull request for everyone to get a hang of things.

A general format for branch name that we can follow for engineering branches (branches that are intended to be submitted to the trunk (master):
eng/_<4/5 char description>
Since we don't have task IDs yet, we can do something like:
eng/<4/5 char desc>_u-
For branches only used for development (when you just wan to research or something):
dev/_<4/5 char description> or dev/<4/5 char desc>_u-
For branches meant for testing:
tes/_<4/5 char description> or tes/<4/5 char desc>_u-.


This only gives you a copy of the value

This doesn't give access to a nested value in reference to the object which it is from. If I want to modify something, this doesn't let me do so.

Can you give code samples of what you mean (perhaps a failing case and what you would expect to happen)?

So, If I have the object:
var test = {
test2: 'tester'
};
I can get the value of test2 by doing
var test2 = access(test, 'test2');
(test2 === 'tester')
however this lacks the functionality of SETTING the value of test2 since the value returned from access() is now a copy of 'test2' in the original object.
test2 = 'newValue';
console.log(test);

{  test2: 'tester' }

Possibly new functionality can be added by allowing a value to be passed in alongside the key and object, which subsequently creates that key with the value passed in.
var obj = {}
var newObj = access(obj, 'test.test2.test3', 'test3value');
console.log(newObj);

{test:{test2:{test3:'test3value'}}}

This wouldn't work in vanilla JS either.
var test = {
  test2: 'tester'
};
test2 = test.test2; // test2 === 'tester'
test2 = 'newValue';
console.log(test); // { test2: 'tester' }

If you wanted to set the value of test.test2 in your example, you could just do this:
test.test2 = 'newValue';

If you want to set a property on a nested object using safe-access, you can do this:
var test = {
  test2: {
    test3: 'a nested value'
  }
};
test2 = access(test, 'test2');
test2.test3 = 'a different nested value';
console.log(test); // { test2: { test3: 'a different nested value' } }

Your point 1 is true, but that's why you always keep a reference to your original value before changing it.
Except that would defeat the point of safe-access since you're still referencing the test3 value directly.
I ended up needing the functionality somewhere else, so I wrote this method with similar functionality to yours, but without a lot of type checking and function support (since it's only used for strings and objects)
var access = function(obj, key, value) {
	var key_split = key.split('.'),
		pos = obj;
	// update a value
	if (arguments.length === 3 && value !== null && typeof value !== 'undefined') {
		for (var i = 0, l = key_split.length - 1; i <= l; ++i) {
			pos = pos[key_split[i]] = i === l ? value : pos[key_split[i]] || {};
		}
	// delete a value
	} else if (arguments.length === 3) {
		for (var i = 0, l = key_split.length - 1; i <= l; ++i) {
			if (!pos[key_split[i]]) {
				return;
			}
			if (i === l) {
				delete pos[key_split[i]];
				return;
			}
			pos = pos[key_split[i]];
		}
	// GET a value
	} else {
	for (var i = 0, l = key_split.length - 1; i <= l; ++i) {
		if (!pos[key_split[i]]) {
			return;
		}
		pos = pos[key_split[i]];
	}
}
	return pos;
};```

As you can see from the comments, when you pass in an object and a key, it gets the thing at that key (if it exists)
If you pass in an object, key and undefined/null it deletes the value at that given key if it exists
If you pass in an object, key and a value it sets the value on the object at the key you specified


Learns Field Papers-es edit

Updated to match the main english page and edited some existing vocabulary/grammar

Hi @ErikaKristie & @mikelmaron
I've added the Spanish translation - thanks for that, it looks good. I've also added links to downloadable versions - many people seem to like to be able to view 'offline'.
For your info, the image referencing system was altered some time ago - I've started to document it here https://github.com/Nick-Tallguy/Nick-Tallguy.github.io/wiki/Images-in-LearnOSM  & when I am satisfied with it I will copy it across to the main wiki on LearnOSM.
If you're able, I'd welcome more translations or updates, either through GitHub or via Transifex.  This document may help to work out which modules could benefit from your help LearnOSM_site_audit. The two letter column headings refer to the language, so everything below es refers to the Spanish version. You may prefer to use Transifex, as it is easier to keep all of the site in parallel.
Thanks again, and I hope to see more updates from you.
Regards
Nick


[website] Migrate X page to use CSS theme variables

Migrate X page from https://github.com/mui/material-ui/issues/34880

[x] I have followed (at least) the PR section of the contributing guide.

I'm not sure of how to deal with XComponents.
It uses mode in a different way and I wasn't able to figure out how to apply theme variables in this case yet.
Feel free to commit anything or suggest solutions!
@siriwatknp @EduardoSCosta @trizotti

@jesrodri Thanks a lot for your contribution!
I put on hold label because we have to update the date-pickers and maybe the data-grid to support CSS theme variables first.

Updated the DataGrid and DatePicker to the latest. This PR is ready for review.

cc @mnajdova @oliviertassinari This PR updates the DataGrid and DatePickers to v6-alpha to get the CSS vars support.


[RD] Add Salad's resumable download patches

These commits add resumable download capability to oras-go's Copy() method.

Annotations key declarations (internal/spec/artifact.go)

Constants for the Annotations map used by resumable downloads

Copy hashVerifier from go-digest

hashVerifier is non-public in go-digest and we need to supply a pre-initialized Hash

Add resume to VerifyReader and add hashVerifier (content/reader.go)

Add resume field to VerifyReader to track resume mode
Skip setting UnexpectedEOF error in Read() in resume mode
Add hashVerifier from digest
Recover serialized Hash object in NewVerifyReader and create a content.hashVerifier if in resume mode
Duplicate tests for resume mode

Add Store.IngestFile() and Storage.IngestFile() (content/oci/storage.go)

injest(): calculate hash on existing ingest file contents

Add Repository.FetchHead() and friends (registry/remote/repository.go)

BlobStoreHead.FetchHead()
Repository.FetchHead()
blobStore.Fetch() checks for Range header support and sets it if so

Updates to CopyBuffer (internal/ioutil/io.go)

Handle partial copies in CopyBuffer()
Add tests (upstream TestUnwrapNopCloser(0 is failing, not fixed here)

Set up resume in doCopyNode() (copy.go)

Look for a partial downloaded file
Get headers from src to verify Range: support
Set up resume arguments in desc.Annotations

Will we be submitting a PR upstream to add this to the official version or is the plan to maintain the fork indefinitely?

Will we be submitting a PR upstream to add this to the official version or is the plan to maintain the fork indefinitely?

This is not how it should be implemented upstream so for now it's a fork we get to maintain.  There are too many assumptions about our use case in this code as-is.


Add TF2 Brazilian League Configs

Hey!
I would like to contribute to the TF2 Competitive Docker image by adding configs and whitelists for the Brazilian TF2 league (FTBF). Brazil has the largest competitive TF2 community in South America, and adding support for FTBF would help expand the usage of this Docker image within the community.
I've reviewed the Docker image structure and I can submit a pull request that aligns with its standards. Please let me know if there are any specific requirements or preferences for including these configs.
Thank you for considering this contribution!

Hi!
Please submit a PR and I'll take a look at it in my spare time. The image being affected will be tf2-competitive.
Don't commit the configs to the repository - instead, make Dockerfile download the configs and put them in the proper directory during the build time. MD5 checksums are to make sure nobody is able to inject malicious content into the final image.
If possible, please make versioning possible. It's easily done through git tags and GitHub releases.
Feel free to ask any questions :)

Here is the link to the pull request :)
https://github.com/melkortf/tf2-servers/pull/187


Leaving fullscreen mode error

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.3.0
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
The issue is present on the demo app.
Are you using the demo app or your own custom app?
Both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Firefox, macOS 12.0.1
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?

Can be the same as in demo app.
What configuration are you using?  What is the output of player.getConfiguration()?

Config
{
  "drm": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "servers": {},
    "clearKeys": {},
    "advanced": {},
    "delayLicenseRequestUntilPlayed": false,
    "logLicenseExchange": false,
    "updateExpirationTime": 1,
    "preferredKeySystems": []
  },
  "manifest": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "availabilityWindowOverride": null,
    "disableAudio": false,
    "disableVideo": false,
    "disableText": false,
    "disableThumbnails": false,
    "defaultPresentationDelay": 0,
    "dash": {
      "clockSyncUri": "",
      "ignoreDrmInfo": false,
      "disableXlinkProcessing": false,
      "xlinkFailGracefully": false,
      "ignoreMinBufferTime": false,
      "autoCorrectDrift": true,
      "initialSegmentLimit": 1000,
      "ignoreSuggestedPresentationDelay": false,
      "ignoreEmptyAdaptationSet": false,
      "ignoreMaxSegmentDuration": false,
      "keySystemsByURI": {
        "urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b": "org.w3.clearkey",
        "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
        "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
        "urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready",
        "urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb": "com.adobe.primetime"
      }
    },
    "hls": {
      "ignoreTextStreamFailures": false,
      "ignoreImageStreamFailures": false,
      "useFullSegmentsForStartTime": false,
      "defaultAudioCodec": "mp4a.40.2",
      "defaultVideoCodec": "avc1.42E01E"
    }
  },
  "streaming": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "rebufferingGoal": 2,
    "bufferingGoal": 10,
    "bufferBehind": 30,
    "ignoreTextStreamFailures": false,
    "alwaysStreamText": false,
    "startAtSegmentBoundary": false,
    "gapDetectionThreshold": 0.1,
    "smallGapLimit": 0.5,
    "jumpLargeGaps": false,
    "durationBackoff": 1,
    "forceTransmuxTS": false,
    "safeSeekOffset": 5,
    "stallEnabled": true,
    "stallThreshold": 1,
    "stallSkip": 0.1,
    "useNativeHlsOnSafari": true,
    "inaccurateManifestTolerance": 2,
    "lowLatencyMode": false,
    "autoLowLatencyMode": false,
    "forceHTTPS": false,
    "preferNativeHls": false,
    "updateIntervalSeconds": 1,
    "dispatchAllEmsgBoxes": false,
    "observeQualityChanges": false
  },
  "offline": {
    "usePersistentLicense": true
  },
  "abr": {
    "enabled": true,
    "useNetworkInformation": true,
    "defaultBandwidthEstimate": 1000000,
    "switchInterval": 8,
    "bandwidthUpgradeTarget": 0.85,
    "bandwidthDowngradeTarget": 0.95,
    "restrictions": {
      "minWidth": 0,
      "maxWidth": null,
      "minHeight": 0,
      "maxHeight": null,
      "minPixels": 0,
      "maxPixels": null,
      "minFrameRate": 0,
      "maxFrameRate": null,
      "minBandwidth": 0,
      "maxBandwidth": null
    },
    "advanced": {
      "minTotalBytes": 128000,
      "minBytes": 16000,
      "fastHalfLife": 2,
      "slowHalfLife": 5
    }
  },
  "preferredAudioLanguage": "",
  "preferredTextLanguage": "",
  "preferredVariantRole": "",
  "preferredTextRole": "",
  "preferredAudioChannelCount": 2,
  "preferredVideoCodecs": [],
  "preferredAudioCodecs": [],
  "preferForcedSubs": false,
  "preferredDecodingAttributes": [],
  "restrictions": {
    "minWidth": 0,
    "maxWidth": null,
    "minHeight": 0,
    "maxHeight": null,
    "minPixels": 0,
    "maxPixels": null,
    "minFrameRate": 0,
    "maxFrameRate": null,
    "minBandwidth": 0,
    "maxBandwidth": null
  },
  "playRangeStart": 0,
  "playRangeEnd": null,
  "cmcd": {
    "enabled": false,
    "sessionId": "",
    "contentId": "",
    "useHeaders": false
  }
}

What did you do?

Open browser console
Click 'fullscreen' button on the player
After entering fullscreen mode, click 'fullscreen' button again

What did you expect to happen?
Leave fullscreen mode without any issues.
What actually happened?

Fullscreen mode is left, but in the console an error Uncaught (in promise) DOMException: Operation is not supported. It doesn't seem to cause any problems with player, but the error info itself is present.
The issue can be triggered also by using double-clicking to enter and exit fullscreen. Using 'escape' key seems not to throw the error.
The screenshot present error generated in Angular app, but it seems the framework isn't necessary to throw it.

I'm unable to reproduce this issue on ChromeOS.  It could be Firefox-specific or Mac-specific (less likely).
I loaded the v3.3.0 demo (I tried both uncompiled and release mode), and I started playing content.  I clicked the fullscreen button to go to fullscreen mode, then clicked it again to leave fullscreen mode.  No errors.  I also tried double-clicking to reproduce the issue, and still observed no errors.

I was able to reproduce in Firefox on Linux.  It appears to be the call to screen.orientation.unlock() in toggleFullScreen() in controls.js that produces this message.
However, unlock() returns undefined, not a Promise, and it's not throwing either.  It's actually returning undefined and completing the call.  It could be that in Firefox, the call results in a failure on an unobserved Promise in some internal part of the implementation of unlock().
Here's the test I ran in the JS console on Firefox:
try { result = screen.orientation.unlock(); console.log('OK', result); } catch (error) { console.error('THREW', error); }

I get back "OK undefined" followed by that error message.  If unlock() were returning a failed Promise that we should be listening to, we would see "OK Promise {: ...}" instead.
So it appears that there is nothing we can do to silence Firefox's error, and that it has no effect on the player or application at runtime.


add Open HUB presence to OSGeo

add https://openhub.net/p/PyWPS to https://openhub.net/orgs/OSGeo on Open HUB.

Done.  Thanks @mloskot!


[Docs]:Improve the method for installation and making pr

Current State
In the current state, the method to install the dependencies and open a pull request are extremely vague are vague, Here I propose adding shell commands instead of the existing way of presenting the commands.
Desired State
We could add shell commands for both the installation steps as well as for opening the pull requests to make it easier for folks to setup the project as well as open their first pr.
Screenshots
Existing:

Proposed:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

I would like to work on this issue under gssoc'23

Will get working on it


[6.1.x] tele build fails to pull planet package

Description
What happened:
When building an enterprise application installer tarball, tele build fails to pull the corresponding planet package as the package dependency configuration is built using the stripped down version of the original application manifest with newer configuration parameters removed (e.g. systemOptions.runtimePackage).
What you expected to happen:
tele build succeeds
How to reproduce it (as minimally and precisely as possible):
Build an application installer with tele 6.1.38.
Environment

Gravity version [e.g. 7.0.11]: 6.1.38

This might be a duplicate of https://github.com/gravitational/gravity/issues/2040


Tas doc improvement

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6632224eab23bec6095c1457--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6633219fa4e2896fe09a969d--harness-developer.netlify.app


Insiders release not installing

I tried changing my storage.json to enable insiders build but VS code has not updated and is still on 0.10.6
I followed the instructions found here: https://cmatskas.com/visual-studio-code-getting-insider-builds/
Thoughts?

https://blogs.msdn.microsoft.com/vscode/2016/02/01/introducing-insiders-builds/

Thank you

This link redirects to the stable build:
http://code.visualstudio.com/Docs/?dv=win&build=insiders
I'm not able to get the installer for the insiders build.

:+1:

Over the weekend we had what we believe is a false positive alert from Windows Defender on the Insiders Build setup. When something like this happens the first thing to do is pull down the drop. Since it happened over the weekend, the fastest thing I could do was change the FWLink to point back to code.visualstudio.com.
False positives have happened before and today we are no longer seeing Windows Defender (with updated definitions) flag the issue. To be safe we will continue to look at the issue today and we will update the link when we release the Feb 2016 stable release and an updated insiders drop that matches stable.
Sorry for inconvenience. One thing we plan on doing as a result of this is adding some sort of "service status" to the website to give people an idea of what is going on in situations like this.


Issue with the Triggerbot

When i hold the "alt" button it shoots permamently and it wont stop idk why and it shoots at all objects although it should actually shoot at the opponent.
Can you Help me?

Bot only looks at the color change and will not (and cannot) detect if the crosshair is on top of an enemy.


Created contributing.md

Related Issue
Contributors can now go through the instructions that will help them contribute to the project.
Description
I added contribution instructions through GitHub Desktop and through machines run locally.
Closes #23
If this PR gets merged, please put 'gssoc' and 'level 1' labels to the merged PR. THANK YOU.
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

@apurvjha123 Hi sorry to bother you, but the mentors told us to get the PR assigned to us. Or else it won't be counted. You can check it out here as well. Could you assign this to me?https://github.com/GSSoC24/Contributor/discussions/288?utm_source=substack&utm_medium=email#discussion-6747700


after setup can not login

Just like #6043
ERROR: Client Authentication Failed
 Client credentials were not valid
 For information on how to fix this, please read http://api.ghost.org/docs/client-authentication.

ERROR: Access denied.

 Error
    at Error.UnauthorizedError (/home/admin/polymerization-wiki/target/polymerization-wiki/core/server/errors/unauthorized-error.js:6:18)
    at authenticate (/home/admin/polymerization-wiki/target/polymerization-wiki/core/server/middleware/auth.js:74:50)
    at allFailed (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/passport/0.3.2/passport/lib/middleware/authenticate.js:98:18)
    at attempt (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/passport/0.3.2/passport/lib/middleware/authenticate.js:167:28)
    at Strategy.strategy.fail (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/passport/0.3.2/passport/lib/middleware/authenticate.js:284:9)
    at verified (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/passport-oauth2-client-password/0.1.2/passport-oauth2-client-password/lib/strategy.js:49:32)
    at then (/home/admin/polymerization-wiki/target/polymerization-wiki/core/server/middleware/auth-strategies.js:24:24)
    at tryCatcher (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/promise.js:510:31)
    at Promise._settlePromiseAt (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/promise.js:584:18)
    at Async._drainQueue (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/admin/polymerization-wiki/target/polymerization-wiki/node_modules/.npminstall/bluebird/2.11.0/bluebird/js/main/async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:490:17)

version 0.11

on my other server is normal,i think i need help..wow

Hi @chinakids, sorry to hear you're having trouble.
It seems like something went wrong during your installation process, but it's not possible for us to debug this without more information.
As mentioned in the readme & contrib guide, if you need help, please head on over to slack - https://ghost.org/slack/ - and post in the #help channel. There you can get help & support from the Ghost community, which we're not able to do here in the GitHub bug tracker.


Typescript warnings "export 'StorageService' was not found in 'ngx-webstorage-service'

I'm getting these warnings anywhere I use the Storage Service.
 ｢wdm｣: Compiling...
⚠ ｢wdm｣:    4361 modules

WARNING in ./app/routes/quizzes/quiz2/keyboard/screen-keyboard.component.ts 36:234-248
"export 'StorageService' was not found in 'ngx-webstorage-service'

WARNING in ./app/routes/quizzes/quiz2/keyboard/screen-keyboard.component.ts 36:276-290
"export 'StorageService' was not found in 'ngx-webstorage-service'

WARNING in ./app/routes/quizzes/quiz2/student-quiz.service.ts 43:165-179
"export 'StorageService' was not found in 'ngx-webstorage-service'

WARNING in ./app/routes/quizzes/quiz2/student-quiz.service.ts 43:207-221
"export 'StorageService' was not found in 'ngx-webstorage-service'
ℹ ｢wdm｣: Compiled with warnings.

Any ideas?
I'm on babel/webpack (not using anguar-cli):
"@angular/common": "9.1.6",
"@babel/core": "7.9.0",
"babel-plugin-transform-typescript-metadata": "0.3.0",
"typescript": "3.8.3",
"webpack": "4.16.5",
"ngx-webstorage-service": "4.1.0",

Related: https://github.com/babel/babel-loader/issues/603 ?

I'm not sure why you're getting that error. The library is built using ng-packagr, which should produce multiple distribution bundles to maximize compatibility with different build tools.
Could you perhaps try the following: build the library from the master branch (npm i + npm run build), and then manually copying the output from build/dist to the node_modules/ngx-webstorage-service directory of your application? The master branch contains some (unreleased) dependency updates, which includes an update for ng-packagr. Hopefully that solves your problem. If it does I can make a new release.

I played around with your source, but I couldn't get anything to get remove the warning.
However, if I import WebstorageService, there is no warning... Any ideas?

The difference between StorageService and WebStorageService is that the first is an interface while the second is a class. Perhaps the new type imports/exports from TypeScript 3.8 offer a solution?
import type { StorageService } from 'ngx-webstorage-service';

If that doesn't work then importing WebStorageService is a reasonable workaround. Alternatively you could switch to using the Angular CLI. I am not sure what the reason is why you chose a custom build setup. If your reason was to provide a custom webpack config, then you could consider using the Angular CLI together with something like ngx-build-plus.

The "import type"-syntax seems to do the trick, thanks!
The reason that I am using a custom build is that it is a very very large project with five angular apps of which two are running ng9 (mirgation done), one is a hybrid 1.7/9 and two are 1.7 that share common components and webpack build with fairy advanced stuff that is not easily ported to cli. And there is sooo much code... The project turns ten years (!) old next year... Public SaaS. Started out as server side rendered java w/ freemarker-> backbonejs -> ng1 -> ng9.
It's good fun migrating it to ng9 though. Hoping to get Ivy and AOT going at the end of the year when it's all migrated... hopefully ;)

Oh, that sounds like challenging project to maintain.
Glad to hear the import type did the trick! Good luck with the remainder of the migrations :)


No easy way of testing certain SQL statements like SET.

@mbutrovich and I were discussing how to test #1073. For now, we are punting / only running local tests. The issue is that we don't have a mechanism for specifying "this query should return this error code".
statement error also doesn't seem to pick up on the presence of error codes, e.g. it should fail the following
statement error
SET a to b

but returns java.lang.Exception: Failure at Line 56: Expected failure but success.

In normal postgres psql, you can check the error code of your executed SQL:
postgres=# select 1;
 ?column?
----------
        1
(1 row)

postgres=# \errverbose
There is no previous error.
postgres=# set foo to bar;
ERROR:  unrecognized configuration parameter "foo"
postgres=# \errverbose
ERROR:  42704: unrecognized configuration parameter "foo"
LOCATION:  set_config_option, guc.c:6749

We would like to be able to specify an optional parameter to statement error, statement error ERROR_CODE.
Such as statement error 42704.
Which will check that the statement returns the error code 42704.
You can do this in Java by checking getSqlState().


openresty/lua

I'd like to suggest that openresty/lua be on the list of integrations you should actively seek contributors for.
Whats the procedure for donating such an integration, were we to make one?

I was not aware of OpenTracing API being available for Lua, that would be the first step before integrations.

Both are indeed necessary steps :) Whats the procedure for donating such things though?

the biggest challenge is to find some other people interesting/experts in the language, so that you can collaborate on the API design to make it idiomatic for the language. OTSC members can review from OT perspective, but I, for example, won't be able to offer much advice on the language features.
Aside from that, we can create a repo and you can start hacking at it.

I'm working on an opentracing library for Lua now.

I would be extremely interested in this contribution!

@james-callahan do you have a link to your library?

Currently working on it over here: https://github.com/Kong/opentracing-lua

is this issue moot in light of opentracing-contrib/nginx-opentracing?

@tarekrached no, the opentracing-OpenResty will be implemented in Lua, and nginx-opentracing is implemented in C++.


update github issue report template to include rpm/deb version

@baude @mheon PTAL..
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
When filing a new issue, it would be useful to collect the rpm or deb package info in the details than to manually ask the reporter to fill in those details later on. See https://github.com/containers/libpod/issues/3838 for example.
The template addition could look like so:
Output of rpm -q podman (fedora/rhel/centos) or apt list podman (ubuntu/debian):
(paste your output here)

I notice podman info --debug does list rpm version with conmon info, but that won't be the case once conmon is independent.

make a pr lokesh!

ha, I'll do that, I thought this was some github magic I didn't have access to :D


Supporting Power BI service datasets

Hello,
New feature request:
Is it an option to support this Power BI feature as a connection for NBI?
https://endjin.com/blog/2022/01/testing-power-bi-reports-using-execute-queries-rest-api/
A recent API was added that allows you to execute DAX queries to Power BI service datasets.
Kind regards,
Xavier

Yes it should be possible. I'll take a look to that.

Interesting to note that the "Datasets - Execute Queries" API is available for both Power BI Pro and Power BI Premium.
Cause on the Power BI Premium side we had options for querying datasets on the service already a longer time via the XMLA endpoints.
This blog post also talks about some differences:
https://powerbi.microsoft.com/en-za/blog/executequeries-rest-api-versus-xmla-endpoints-at-scale/
Pro's of the "Datasets - Execute Queries" API is that it's more universal type of connection and available to anyone (Pro and Premium).
Downside is there are limits to the amount of data we can communicate.


Small note on mailer templates documentation.

Hi,
It's stated in this part of Pow README (Modify mailer templates)

This will generate view files in WEB_PATH/views/mailer/, and html and text templates in WEB_PATH/templates/mailer directory.

But generated templates and views are instead located in "WEB_PATH/views/POW_EXTENSION/" and "WEB_PATH/templates/POW_EXTENSION".
It's not a big deal, but I was expecting all mailer templates grouped in the same folder "mailer" but there are generated into their corresponding extension folder. (Of course, this is very practical as well.)

Thanks, I've updated the readme!
I do wonder if it makes more sense to put all mailer templates into /mailer/POW_EXTENSION instead of /POW_EXTENSION/mailer?
My thought process when I was setting this up is that we would want all the templates (controller and mailer) for each extension to be in the same directory so if you decide to remove an extension you only have to delete that one directory in templates.


QA  Updates

@projectmushroom please review
There's currently no surveys results page design, made it similar to Polls results


Feature Request: cp -Force on MacOS results in /bin/cp: illegal option -- F

Summary of the new feature/enhancement
'As a user of macOS Big Sur with latest Powershell 7.1. I want to run the cp command with force override of target file in the same syntax as on windows so that I can use the script cross platform
Proposed technical implementation details (optional)
pwsh -c "cp -Force ./source.txt ./targetThatExists.txt"
results in
/bin/cp: illegal option -- F
Notice that the command does not contain F but -Force.
The -Force option is available on Windows but not on macOS and my identical script failed.
Workaround:
Remove-Item ./targetThatExists.txt -ErrorAction Ignore
-> then use cp command without -Force option

cp on Windows is an alias for Copy-Item which is why -Force works. On non-Windows hosts it's calling the native binary cp at /bin/cp which isn't related to PowerShell. If you want something that works on both Windows and other platforms don't use cp and instead use Copy-Item so you are calling the PowerShell cmdlet directly.

Thanks @jborean93
But why can't it call the native /bin/cp and rewrite the -Force option the way it should work? Can't powershell be considered a wrapper for native commands?

Thanks @jborean93
But why can't it call the native /bin/cp and rewrite the -Force option the way it should work? Can't powershell be considered a wrapper for native commands?

But why can't it call the native /bin/cp and rewrite the -Force option the way it should work

You now have to maintain a static list of all binaries and options to map to which would be ungodly difficult to maintain. Even then you can't guarantee that cp will always accept -f.

Can't powershell be considered a wrapper for native commands?

Depends on how you define a wrapper. PowerShell is a shell which can be used to call native commands. It's not always wrapping those commands, i.e. Copy-Item does not call cp internally but uses a bunch of syscalls through .NET.
So if you want something that is platform agnostic, use the PowerShell cmdlets (Copy-Item) to copy the file.

But why can't it call the native /bin/cp and rewrite the -Force option the way it should work

You now have to maintain a static list of all binaries and options to map to which would be ungodly difficult to maintain. Even then you can't guarantee that cp will always accept -f.

Can't powershell be considered a wrapper for native commands?

Depends on how you define a wrapper. PowerShell is a shell which can be used to call native commands. It's not always wrapping those commands, i.e. Copy-Item does not call cp internally but uses a bunch of syscalls through .NET.
So if you want something that is platform agnostic, use the PowerShell cmdlets (Copy-Item) to copy the file.


main-cron pulsar test failed

Describe the bug
https://buildkite.com/risingwavelabs/main-cron/builds/511#01884512-b7ec-4701-9990-fd5f945e40c2

To Reproduce
No response
Expected behavior
No response
Additional context
No response

close in favor of #10034


Add extra syntax support for LIMIT & OFFSET

Summary of the changes / Why this improves CrateDB
To improve compatibility with PostgreSQL, add the exact syntax
which is supported by PostgreSQL for LIMIT and OFFSET:
LIMIT ALL
LIMIT NULL
OFFSET 10 ROW
OFFSET 10 ROWS
OFFSET NULL

Pre-work for: #11540
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

@mfussenegger Would be great to give it another quick look, (fixed the analyzer test, regarding the expected null or null Literal)


Fix floating point error

There's a floating point thing going on in the reported confidence scores at the end.

Fixed


How to overwrite?

If set INPUT and OUTPUT the same folder, will log
-------------
null
true
undefined
-------------

error: null, complete: true, statistic: undefined.
But the image file does not change.

@gonnavis
You can use
compress_force (type:boolean): Force compress images already compressed images true or false;

Is not recommended to compress images in the same folder.

Thanks!

@gonnavis - Did this work for you? I tried to use the compress_force: true as specified above with the same input an output path and I'm getting an error for PNG/JPGs:
For jpg:
err: Error: Command failed: <pathtomyproject>/node_modules/mozjpeg/vendor/cjpeg -quality 60 -outfile src/images/imagename.jpg src/images/imagename.jpg
  Empty input file

For png:
err: Error: Command failed: <pathtomyproject>/node_modules/pngquant-bin/vendor/pngquant --quality=20-50 -o src/images/template-previews/filename.png src/images/template-previews/filename.png
error: 'src/images/template-previews/vitality.png' exists; not overwriting

Curious if it worked for you as laid out.

@TanyaScales
Hi!
Download compress-images 1.9.4
And as example you may use:
    const
    compress_images = require('compress-images'),
    fs = require('fs'),
    INPUT_path_to_your_images = 'src/img/**/!(*-min).png',
    OUTPUT_path = 'src/img/';

    compress_images(INPUT_path_to_your_images, OUTPUT_path, {compress_force: true, statistic: false, autoupdate: true}, false,
                                                {jpg: {engine: false, command: false}},
                                                {png: {engine: 'pngquant', command: ['--quality=20-50', '--ext=-min.png', '--force']}},
                                                {svg: {engine: false, command: false}},
                                                {gif: {engine: false, command: false}}, function(err, completed, statistic){
        if(err === null){
              fs.unlink(statistic.input, (err) => {
                    if (err) throw err;
                    console.log('successfully compressed and deleted '+statistic.input);
              });
        }
    });

@TanyaScales
@gonnavis
Hi!
Download compress-images 1.9.4
And as example you may use:
    const
    compress_images = require('compress-images'),
    fs = require('fs'),
    INPUT_path_to_your_images = 'src/img/**/!(*-min).png',
    OUTPUT_path = 'src/img/';

    compress_images(INPUT_path_to_your_images, OUTPUT_path, {compress_force: true, statistic: false, autoupdate: true}, false,
                                                {jpg: {engine: false, command: false}},
                                                {png: {engine: 'pngquant', command: ['--quality=20-50', '--ext=-min.png', '--force']}},
                                                {svg: {engine: false, command: false}},
                                                {gif: {engine: false, command: false}}, function(err, completed, statistic){
        if(err === null){
              fs.unlink(statistic.input, (err) => {
                    if (err) throw err;
                    console.log('successfully compressed and deleted '+statistic.input);
              });
        }
    });

As per the docs this solution only works for png images, for jpeg it does not work, firstly it says engine not defined, after defining mozjpeg engine it does not compress the image in same folder, I see original image size only.

@TanyaScales
@gonnavis
Hi!
Download compress-images 1.9.4
And as example you may use:
    const
    compress_images = require('compress-images'),
    fs = require('fs'),
    INPUT_path_to_your_images = 'src/img/**/!(*-min).png',
    OUTPUT_path = 'src/img/';

    compress_images(INPUT_path_to_your_images, OUTPUT_path, {compress_force: true, statistic: false, autoupdate: true}, false,
                                                {jpg: {engine: false, command: false}},
                                                {png: {engine: 'pngquant', command: ['--quality=20-50', '--ext=-min.png', '--force']}},
                                                {svg: {engine: false, command: false}},
                                                {gif: {engine: false, command: false}}, function(err, completed, statistic){
        if(err === null){
              fs.unlink(statistic.input, (err) => {
                    if (err) throw err;
                    console.log('successfully compressed and deleted '+statistic.input);
              });
        }
    });

As per the docs this solution only works for png images, for jpeg it does not work, firstly it says engine not defined, after defining mozjpeg engine it does not compress the image in same folder, I see original image size only.

Has anyone manged to get this to work? I'm just getting an error that says:
-----------------------------------
 File from: src/img/image.jpg
 File to: src/img/image.jpg
 Compression algorithm: [mozjpeg]
Error: Command failed: C:\Users\khoii\Local Sites\wp-starter-theme\app\public\wp-content\themes\_theme_name\node_modules\mozjpeg\vendor\cjpeg.exe -quality 60 -outfile src/img/image.jpg src/img/image.jpg
Empty input file

    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'C:\\Users\\khoii\\Local Sites\\wp-starter-theme\\app\\public\\wp-content\\themes\\_theme_name\\node_modules\\mozjpeg\\vendor\\cjpeg.exe -quality 60 -outfile src/img/image.jpg src/img/image.jpg'
}
 [Error] Your file was not compressed!!!
 [Error] You can see log to:
-----------------------------------
Successfully compressed: true
C:\Users\khoii\Local Sites\wp-starter-theme\app\public\wp-content\themes\_theme_name\node_modules\compress-images\index.js:1452
                    if (err) throw err;
                             ^

[Error: EPERM: operation not permitted, open 'C:\2021-2-25 14.57.24 (857).txt'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'C:\\2021-2-25 14.57.24 (857).txt'
}

Here is my code:
const fs = require('fs');
const compress_images = require('compress-images');
const INPUT_path_to_your_images = 'src/img/**/*.{jpg,JPG,jpeg,JPEG,png,svg,gif}';
const OUTPUT_path = 'src/img/';

compress_images(
  INPUT_path_to_your_images,
  OUTPUT_path,
  { compress_force: true, statistic: true, autoupdate: true, pathLog: '' },
  false,
  { jpg: { engine: 'mozjpeg', command: ['-quality', '60'] } },
  { png: { engine: 'pngquant', command: ['--quality=20-50', '--ext=-min.png', '--force'] } },
  { svg: { engine: 'svgo', command: '--multipass' } },
  { gif: { engine: 'gifsicle', command: ['--colors', '64', '--use-col=web'] } },
  function (err, completed, statistic) {
    if (err === null) {
      fs.unlink(statistic.input, (err) => {
        if (err) throw err;
        console.log('successfully compressed and deleted ' + statistic.input);
      });
    }

    console.log(`Successfully compressed: ${completed}`);
  }
);

Hi @KoichaDev  !
This function only works with 'pngquant'.
You tried compressing the ".jpg" image and you get the error.
Unfortunately, I don't have time to implement this for all engines yet.

Ah, no wonder! It would be very nice if you have time to implement for all engines in near future! Thanks for replying me back @semiromid! :)

@KoichaDev
You need to specify a different folder
As example:
const OUTPUT_path = 'build/img/';

@KoichaDev
You are welcome. )

I actually did that. I had to write a custom JS code that image(s) outputs on a temporary folder and then moving all the image files that have been compressed back to the original image src folder.

@KoichaDev
I recommend you rename your compressed images, for example add the prefix .min. And look for images to be compressed using a regular expression.
As example:
const INPUT_path_to_your_images = 'src/img/**/*.{jpg,JPG,jpeg,JPEG,png,svg,gif}';
This is for performance.

performance as compiling, or performance as speed performance on the website?

@KoichaDev
Performance when searching for uncompressed images. Unless, of course, you are compressing images one at a time.

Thank you for sharing this insight!
Have a nice day and good work! )


Feature ✨: Add scroll to top button

Describe the feature
I have noticed a small issue that I believe could enhance the user experience. Currently, there is no scroll to top button present on the website, which makes navigation a bit cumbersome, especially when users need to return to the top of a lengthy page.
Though it may seem minor, the absence of this feature can impact the overall usability and performance of the website.
Add ScreenShots
Here, scroll to top button is missing:

Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Tejashri-Taral but it will always be a single webpage webapp why do need this feature.

please assign to me

@Satyam1923 , Yes..I understand that Spring currently has short content, making a scroll-to-top button seem unnecessary at this stage. However, I believe it would be beneficial to add this feature now to enhance user experience as the content grows in the future.
(We can implement it in a way that it remains hidden until users scroll down a significant amount)
I’m open to your perspective and would appreciate knowing your thoughts on this suggestion.


SwiftUI with openURL Example

I just wanted to reach out and say that I think your Deeplink library is excellent, and I'm really impressed with the addition of DocC tutorials. Your work is making it so much easier for developers to implement deep linking in their projects.
I'm actually using Deeplink in a SwiftUI project, and I was wondering if you might be able to provide an example of how you envision working with Deeplink and onOpenURL in a SwiftUI project. I think it would be really helpful to have an example to work off of.
Thanks again for your great work on this library, and I look forward to hearing back from you.

Thank you so much for the kind words 🥹
The app I'm working for is not yet at the stage where we can use SwiftUI onOpenURL (due to an ominous mountain of legacy UIKit stuff), so this has not been a priority for us; that said, I have several project is my graveyard back burner that would benefit from a clearer integration.
I'd love to give a look at how to do that, but I fear you'll have to wait a bit, at least until this weekend.
For context, I've gone back to university to get the degree I've never completed, so I'm double busy 😅
There are some other enhancements that I would like to make:

a simple way to add unit tests (and relative docs)
publishing docs in GitHub pages (wasn't possible when I made the docs, but it is now)
fixing GitHub actions tests
adding sample project/playground

Thanks again for reaching out!

@ksteigerwald, I gave a look at your use case of onOpenURL in a SwiftUI project.
I came up with a working but somewhat unsatisfying solution, so I don't think I'm going to commit it to the repo as an official sample project. However, here's the code if you'd like to give a look.
The main idea is to wrap the DeeplinkCenter inside an ObservableObject, setting an internal Published properties that contains enough data to identify which link was triggered and with what data, and using that to modify the content of a view. From there you could use onChange in the inner views to trigger other side effects.
Let me know what you think! I also realized that we probably need a simple curve of adoption for SwiftUI project, and different samples for different use cases (what if you want to set a NavigationPath, using the new SwiftUI NavigationStack? What if you want to use something like The Composable Architecture?)
Deeplink with sample project.zip

Thanks! I ended up using the onOpneURL, but I like your handler, so I will make use of this for sure.


Don't stage a re-opened PR if still behind upstream

Referencing commit #42

See @sometheycallme comment on 21d1824


Support Pronto 0.10.x too

Pronto changelog: https://github.com/prontolabs/pronto/blob/master/CHANGELOG.md#0100

Hi @RAbraham!  Is it possible to get a release made that includes this fix?

Hmmm, actually, I wonder if the ~> 0.9.5 needs to be taken out before this will work - I'm seeing this when I install pronto and pronto-flake8 out of GitHub directly:
/usr/lib/ruby/2.5.0/rubygems/specification.rb:2325:in `raise_if_conflicts': Unable to activate pronto-flake8-0.2.0, because pronto-0.10.0 conflicts with pronto (< 0.11.0, ~> 0.9.5) (Gem::ConflictError)
	from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1438:in `activate'
	from /usr/lib/ruby/2.5.0/rubygems.rb:224:in `rescue in try_activate'
	from /usr/lib/ruby/2.5.0/rubygems.rb:217:in `try_activate'
	from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
	from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	from /usr/lib/ruby/gems/2.5.0/gems/pronto-0.10.0/lib/pronto/cli.rb:53:in `block in run'
	from /usr/lib/ruby/gems/2.5.0/gems/pronto-0.10.0/lib/pronto/cli.rb:52:in `each'
	from /usr/lib/ruby/gems/2.5.0/gems/pronto-0.10.0/lib/pronto/cli.rb:52:in `run'
	from /usr/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
	from /usr/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	from /usr/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
	from /usr/lib/ruby/gems/2.5.0/gems/pronto-0.10.0/bin/pronto:6:in `<top (required)>'
	from /usr/bin/pronto:23:in `load'
	from /usr/bin/pronto:23:in `<main>'
``

@RAbraham: I created a new PR including this fix: https://github.com/scoremedia/pronto-flake8/pull/8


Pixel-level populations can be hard to see

The colormap that is used for displaying pixel populations includes some colors that are quite dim. This can make it hard to see where on the image the given population is. For some reason, this doesn't seem to be happen with the cell-level populations. Maybe something about the brightness settings for cell segmentation populations is different, making them easier to see?

The functionality that you're using to load and display pixel populations was originally intended for regions of interest on the image. Since these were intended for regions, the alpha of these objects is set to something like 60% so the underlying region and segments can be seen, and the alpha is increased to something like 80% when highlighted (e.g. moused over).
That being said, it's super cool what you've been using this feature to do! It would be great to improve it so that it works better for your use case. I'm imaging the easiest way to accomplish solving the problem you described would be to allow users to change the alpha of regions/pixel populations. I think the lowest effort way to achieve this would be to add a slider to the image controls to modify the global region/pixel population alpha. Would this work for you? Would there be another way that would work better for your use case?

Yeah, if the only difference between the cell and region colormaps is the alpha then having the option to change it would definitely solve the issue

Cool! I created a ticket to add that feature. It's on the shortlist of
things to get done in the next couple of weeks.
Rob Schiemann
Staff Software Engineer  I  Informatics
@.***
Follow us: Twitter https://twitter.com/ParkerICI | Facebook
https://www.facebook.com/ParkerICI/ | LinkedIn
https://www.linkedin.com/company/parker-institute-for-cancer-immunotherapy/
| Instagram https://www.instagram.com/parkerici/
On Tue, May 17, 2022 at 7:27 PM Noah F. Greenwald @.***>
wrote:

Yeah, if the only difference between the cell and region colormaps is the
alpha then having the option to change it would definitely solve the issue
—
Reply to this email directly, view it on GitHub
https://github.com/ParkerICI/mantis-viewer/issues/62#issuecomment-1129501464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7D37GSZ7R77KK6VH622E3VKRIRNANCNFSM5WGF3KRQ
.
You are receiving this because you commented.Message ID:
@.***>

Feature added in 1.2.2-rc.4.


DomParticle subclasses should avoid overriding setViews without calling super impl

Otherwise those sub-classes have a requirement to ensure compatible override implementations in perpetuity, and they tend to contain duplicate code and/or use private methods.

As agreed yesterday, in a followup PR i'll move the multiplexing functionality outside ShowCollection particle.

Believe this is fixed.


Virtual aggregate extension

Moving Virtual Attribute concept VirtualTotalMixin  into lib/extensions in preparation for extracting virtual_attribute into it's own gem.
In this process, mixed VirtualTotalMixin into all AR models.
Thanks for help Mr. @bdunne
/cc @Fryguy or @jrafanie FYI

@Fryguy Any concerns?

kicking


update travis CI build

This is what happens when you try to create a PR from master branch.

I did something really messy.

Yep, however it's not that hard to resumbit the PR from a new branch. Just soft reset the changes locallym create a branch and commit your new changes to that new branch and then push that new branch and create a new PR from there. Making a PR from your master usually makes future PRs a mess.

I think everyone submits a PR from master at least once. Closing, pending new PR from branch.


Tracking of allowed-address-pairs broken with l2pop/arp responder and LinuxBridge/VXLAN

This is to track the progress of 1445089 a bug in Neutron which affects ML2/LinuxBridge and VXLAN networks allowed-address-pairs functionality.
We should push reviews on the patch and work aggressively to get this backported into liberty.  At this time nothing in RPC-O will need to change, but I want this to be a reminder to go poke this issue periodically.

The fix for this has merged into master, the liberty backport is here: 288050

liberty has merged, just waiting on a sha update from OSA now I think

Waiting for SHA bump. @git-harry any idea of which one will include this change?

should be in #1054 #1055 and #1056


Unusual behaviour on opening neovim session containing iron repl

Hi I just update to the beautiful v3.0 of iron.
However, now when i save a session which already has iron inside it, and reload nvim, only iron appears and the accompanying buffer file (python) is gone.
I am attaching a gif to clarify this issue. A second issue is that  I cannot send visual commands (screencapture shows that too). If iron could not be saved in the session , that would be a fine solution. I have set 'close_window_on_exit' to true but that doesnt seem to do it.
My settings:
local iron = require("iron.core")

iron.setup {
  config = {
    buflisted = false,
    -- If iron should expose `<plug>(...)` mappings for the plugins
    should_map_plug = true,
    -- Whether a repl should be discarded or not
    scratch_repl = false,
    close_window_on_exit = true,
    -- Your repl definitions come here
    repl_definition = {
     python = require("iron.fts.python").ipython,
      sh = {
        command = {"zsh"}
      }
    }
  },
  -- Iron doesn't set keymaps by default anymore. Set them here
  -- or use `should_map_plug = true` and map from you vim files
  keymaps = {
    send_motion = "<space>sc",
    visual_send = "<space>sc",
    send_line = "<space>sl",
    repeat_cmd = "<space>s.",
    cr = "<space>s<cr>",
    interrupt = "<space>s<space>",
    exit = "<space>sq",
    clear = "<space>cl",
  }
}

Hi, @drusmanbashir
I think this is because the default window now is a float window.
Can you try setting up the repl_open_cmd to botright split 20 (or the relevant size/split) instead of the function we're using by default now?
I can definitely revert back to normal splits if that is causing more issues than good.

Sort of better, though it opens a spare repl when loading from session. This was there before the current update

:
visual send does not work anymore. I get the error below:

🤔 I'm assuming this is because everything is now kept inside lua, so iron doesn't have the reference to the repl that was re-created - the terminal is there but iron doesn't know about it. Furthermore, it is likely that the job ID is going to be different, so it won't possibly send data to the restored repl...

Is there a way to disable saving iron repl when quitting neovim?

For the other issues:

I'm unsure about <M-...> bindings, they might be intercepted by the terminal and/or not properly handled by neovim...
Which neovim version are you using? Also, can you test against latest merge? I removed the vim file that was likely causing some confusion (i.e. duplicating functions)

I'm not entirely sure how this session/restore thing works. Can you try setting scratch_repl to true on your config? This might do the trick - conceptually speaking, neovim shouldn't save a scratch buffer..

No scratch_repl doesnt work. I think i'll find something like an autocommand on windowleave that calls ironclose
I tried  with ctrl. that doesnt seem to work either, i.e.,
send_line = "<c-j>",

I just tried here and <C-j> and it works fine. Which version of neovim are you using?
I'll investigate a way to force clsoe all repls on neovim exit.
The close_on_exit option is for closing the window when the process exits (the other way around  😅 )

Latest v8.0 dev version of neovim. Just signed in to say iron-vim along with lsp and treesitter is one of the main reasons i use neovim as my defacto python idle (i have pycharm pro subscription but only use it for debugger), keep it up!

Just retried with latest neovim version 0.8 dev
Cannot set mod-keybindings.
Still getting the error on visual sebd screenshot above .., Not enough arguments for function: chansend

This seems to correlate with #225. I'll check asap.

This works now. Thank you a lot for fixing this.


React-native-google-maps _ "OBJC_CLASS$_AIRGoogleMapHeatmap", referenced from:       objc-class-ref in AIRGoogleMap.o ld: symbol(s) not found for architecture x86_64

I am using
"react-native-maps": "0.27.1",
"react-native": "^0.62.2",
Error:
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_AIRGoogleMapHeatmap", referenced from:
objc-class-ref in AIRGoogleMap.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My pod file includes
pod 'react-native-maps', path: rn_maps_path
pod 'react-native-google-maps', path: rn_maps_path  # Uncomment this line if you want to support GoogleMaps on iOS
pod 'GoogleMaps'  # Uncomment this line if you want to support GoogleMaps on iOS
pod 'Google-Maps-iOS-Utils' # Uncomment this line if you want to support GoogleMaps on iOS
and I am also using use_native_modules!
I was using  "react-native-maps": "0.25.0" everything was working fine on iOS but not on android, now the lastest version is working on android but not on iOS.

Just reverted back to the version 0.25.0
and linked the library properly for android and iOS. everything started working now.
for android make sure to link the google maps properly
In mainApplication.java file
@Override
protected List<ReactPackage> getPackages() {
  @SuppressWarnings("UnnecessaryLocalVariable")
  List<ReactPackage> packages = new PackageList(this).getPackages();
   packages.add(new RNFirebaseNotificationsPackage());
   **packages.add(new RNFirebaseMessagingPackage());
   packages.add(new MapsPackage()); // <-- Add this line
  // packages.add(new RNPermissionsPackage());
  // Packages that cannot be autolinked yet can be added manually here, for example:
  return packages;
}

I am also experiencing this issue with RN 63.2 and RN Maps 27.1

Facing same issue in react native 0.63.2 and react-native-maps: 0.26.1 (I took this version bcz it support androidX). It works in ios if I choose 0.25.0 @rborn Need your help here.

works if we do this: build Phases -> compile sources - Add AIRGoogleMapHeatmap.m. If it's not there, directly go to lib inside the AIRGoogleMap folder, then drag and drop it.


Added DynamoDB functions, and respective tests

This Pull Request is a response to this issue.
It adds functions to handle DynamoDb, in particular:

Create a table
Delete a table

It also adds a test function to assert that these two cases work properly.
The test is currently passing, and its logs can be found here.
If this PR does not reach your standards, please let me know how I can improve it, and I will do so.
Kind regards,
Rafael

:wave: Hey all,
Curious as to what the status is here.  I realize some changes are required, its been a little over a month since there was any last contact.  Any help needed?

@rafaelmarques7, let us know if you'll have time to wrap this one up. If not, @iamjohnnym, I'd welcome you taking over the PR and finishing it. Thx!

Hello @brikis98 @iamjohnnym, unfortunately I do not have the time to proceed with those changes :s. Wish you all good luck. Cheers.


[WIP] Updates README.md

Adds more prosa
Adds the ComponetView graphic

If you use js static in the README example code snippet tag, styleguidist will not try to run the code and just display it. This should fix the build.
Example:
 ```js static
    let a = 'foo';
    ...

Added more info to the READMEs (README and docs/README have to be handled a little differently when it comes to path references for images). Added htmls anchors to all headings so that they will be properly referenced in both READMEs.
/docs/ComponentView.png is a corrupt image and needs to be fixed.


Message in Group Chat Displayed Incorrectly on Different Devices

Message in Group Chat Displayed Incorrectly on Different Devices
Description: There is an issue where a sent message in a group chat displays inconsistently across different devices.
Expected Behavior: Messages sent in a group chat should display correctly with the appropriate sender information on all devices.
Actual Behavior:
• A message sent in a group chat appears correctly on one device.
• On another device, the same message shows up as if it was sent from someone else but with the correct username.
• Leaving the chat and returning fixes the display issue.
Steps to Recreate:

Send a message in a group chat.
Check the message on another device.
Observe the discrepancy in sender information.
Leave the chat and return to see the message display correctly.
https://xmtp-labs.slack.com/files/U04ASD4HTA9/F07EAPTT37D/screenshot_2024-07-26_at_5.28.34___pm.heic
https://xmtp-labs.slack.com/files/U04ASD4HTA9/F07EPH9GEU9/screenshot_2024-07-26_at_5.28.25___pm.heic

Slack Message

Should be fixed by the recent group members libxmtp fix!


Add options in graphShapes.html

Is your feature request related to a problem? Please describe.
I would like to add options in graphShapes.html
Please assign me this issue.

Go ahead
Deadline 6 July,2021


Add Neobeam + Minecraft on Marp to list of community themes

These are my own themes. I saw someone else adding their own, so I figured I would too.
It is okay if you disregard one of them, or both, I fully understand
Why awesome? (Neobeam)

It has a decent amount of recognition already, with 12 stars
It provides a "sensible" default theme, so to speak. It's nothing fancy whilst being attractive enough
It is a highly flexible theme, with plenty of CSS variables. It adjusts it's entire color scheme based on a single CSS variable
The CSS is as clean as I could achieve

Why awesome? (Minecraft)

It has a small amount of recognition already, with 2 stars
It is a good example of what you can do with the sheer flexibility Marp provides

Please make individual pull requests for each suggestions.
https://github.com/marp-team/awesome-marp/blob/690c76163ea71bb5a05e733a76b3bdc579260628/CONTRIBUTING.md?plain=1#L40

Sorry, my first time contributing to a repository I don't own. I'll change this PR to only be for Neobeam, and submit the other suggestion seperately. Thank you for your patience :)

I have now submitted it seperately. Take the time you need for reviewing them. I apologize for my mess. Again, it is perfectly okay if you choose to decline either of them.

Linter for Awesome lists is not passing. Check whether URL is correct.
https://github.com/marp-team/awesome-marp/actions/runs/11564729527/job/32190787997#step:6:13

Sorry, I missed the : before // in the URL. It should pass now.


Version 1.3.3: dirty characters in the readable output?

Hi FB55, try to run this:
var Readability = require("readabilitySAX").get(
  "http://www.fastcompany.com/1811210/state-of-the-union-address-is-ultimate-master-class-in-public-speaking?partner=rss",
  function(results) {
    console.log(results);
  }
);

... and you will see that at some point in the text there are lots of dirty characters replacing apparently harmless characters such as single and double quotes.
At first I thought it could be an encoding issue I did not think of, but by definition the get function is supposed to output HTML, free of odd characters, isn't it?
Hope this was useful. I am working with node 0.6.8 on MacOS 10.7.2 .
G.

I'm not able to reproduce the issue. There are a couple of elements that are only present due to the stringify process of the object (e.g. \n and \'), but they disappear when writing the html element of the object to stdout.
My setup is the same, so that shouldn't cause the problem.

I have solved the problem by specifying the charset in the html, as below. Do you think it is normal?
require("readabilitySAX").get(
  "http://www.fastcompany.com/1811210/state-of-the-union-address-is-ultimate-master-class-in-public-speaking?partner=rss",
  function(results) {
    require("fs").writeFileSync('foo.html', '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">' + results.html + '', null);
  }
);


Tabs + Front end framework

Any workaround on how to properly use tabs with front end framework which utilizes # ?
Example, my url is : /test#
I have a tag which contains an href of #content1. My front end framework changes its location to /test#content1 because it's binded to href of the anchor tag.
Maybe we can remove that and use other attributes instead like data-target etc?

Found the solution, so basically I render my views dynamically, I need to explicitly call $("ul.tabs").tabs(); after attaching my $el to the dom


ModEngine not injecting mods

So, I previously installed ModEngine in the same drive my steamlibrary is in downloaded a few mods but strangely they didnt appear in game, so I tried moving the ModEngine folder into Elden Rings directory and changing the .exe's name to start_protected_game as everyone seems to advise but whenever I go to launch the .exe nothing actually happens, nothing at all, I've tried running again through the .bat and I seem to getting errors, can anyone help me with this?? the log is as follows
[2022-12-13 15:59:48.107] [modengine] [info] ModEngine version 2.0.0-preview3-2144572dce7257d2cc477db78036e70dcd136b5a initializing for Elden Ring
[2022-12-13 15:59:48.108] [modengine] [info] Local settings loaded: true, Global settings loaded: false
[2022-12-13 15:59:48.108] [modengine] [info] Main thread ID: 34108
[2022-12-13 15:59:48.110] [modengine] [info] Enabling extension base
[2022-12-13 15:59:48.110] [modengine] [info] Enabled extension base
[2022-12-13 15:59:48.110] [modengine] [info] Enabling extension mod_loader
[2022-12-13 15:59:48.110] [modengine] [info] Installing mod location mod
[2022-12-13 15:59:48.110] [modengine] [info] Resolved mod path to G:\ModEngine-2.0.0-preview3-win64\mod
[2022-12-13 15:59:48.111] [modengine] [info] Enabled extension mod_loader
[2022-12-13 15:59:48.183] [modengine] [info] Applied 3 hooks
[2022-12-13 15:59:48.185] [modengine] [info] Starting worker thread
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.281] [modengine] [info] Destroying
[2022-12-13 16:01:46.282] [modengine] [info] Destroying
[2022-12-13 16:01:46.282] [modengine] [info] Destroying
[2022-12-13 16:01:46.284] [modengine] [info] Destroying
[2022-12-13 17:48:03.395] [modengine] [info] ModEngine version 2.0.0-preview3-2144572dce7257d2cc477db78036e70dcd136b5a initializing for Elden Ring
[2022-12-13 17:48:03.395] [modengine] [info] Local settings loaded: true, Global settings loaded: false
[2022-12-13 17:48:03.395] [modengine] [info] Main thread ID: 13352
[2022-12-13 17:48:03.398] [modengine] [info] Enabling extension base
[2022-12-13 17:48:03.398] [modengine] [info] Enabled extension base
[2022-12-13 17:48:03.398] [modengine] [info] Enabling extension mod_loader
[2022-12-13 17:48:03.398] [modengine] [info] Installing mod location mod
[2022-12-13 17:48:03.398] [modengine] [info] Resolved mod path to G:\ModEngine-2.0.0-preview3-win64\mod
[2022-12-13 17:48:03.398] [modengine] [info] Enabled extension mod_loader
[2022-12-13 17:48:03.471] [modengine] [info] Applied 3 hooks
[2022-12-13 17:48:03.472] [modengine] [info] Starting worker thread
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.500] [modengine] [info] Destroying
[2022-12-13 17:51:59.501] [modengine] [info] Destroying
[2022-12-13 17:51:59.501] [modengine] [info] Destroying
[2022-12-13 17:51:59.501] [modengine] [info] Destroying

I'm having a similar sort of problem, tried every suggestion I can find online and the mods are still not working. Have you found a solution?

Unfortunately not, I recently re-installed and am going to try again, I’ll let you know if its successful but as for help online or help from the ME2 devs there seems to be nothing for our problem specifically.
From: @.>
Sent: 13 May 2023 15:55
To: @.>
Cc: @.>; @.>
Subject: Re: [soulsmods/ModEngine2] ModEngine not injecting mods (Issue #95)
I'm having a similar sort of problem, tried every suggestion I can find online and the mods are still not working. Have you found a solution?
—
Reply to this email directly, view it on GitHubhttps://github.com/soulsmods/ModEngine2/issues/95#issuecomment-1546672736, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4XMHLPHYCSIQEDHMPTDJJLXF6ODVANCNFSM6AAAAAAS5Q3VDI.
You are receiving this because you authored the thread.Message ID: @.***>


Issue with IconButton

I have the following in place:
import { h, Component } from "preact";

import IconButton from "preact-material-components/esm/IconButton";
import "preact-material-components/IconButton/style.css";

export default class Widget extends Component {
  render() {
    return (
      <div className={style.this}>
        <IconButton>
          favorite_border
        </IconButton>
      </div>
    );
  }
}

And I get no errors, yet the style doesn't load.

I have the feeling this has recently changes, as the docs are vague on it as well and mention a IconToggle instead. What is the right syntax?

That does not seem to work.

Ah sorry, did you include the material fonts in ur web app?
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

Yes I have that in place too, and Icons are working fine as is

Can you have a look at the DOM?

It seems to not actually wrap the text into an icon.

I will have a look at that, it seems like there is a missing class

Sorry this was a bug in our docs, deploying a fix right now.
Here's how the code for this component looks like:
https://github.com/prateekbh/preact-material-components/blob/master/docs/src/routes/icon-button/index.js#L62-L65

Ah that makes a lot more sense! Tnx!


Complete "how the presence works"

Finish the documentation...

https://github.com/ThiaudioTT/hoi4-presence/wiki/How-the-presence-works%3F