Development status of this repo

Hi @beerphilipp and @milanszente, I'm interested in using (and further developing) this project for Zenodo uploads of RO-Crates, now that Zenodo uses InvenioRDM (I have been working on my own similar project https://github.com/ResearchObject/ro-crate-uploader before discovering this one but haven't got as far).
I see there haven't been any commits in a while - are either of you still available to maintain the repo, discuss development, review PRs, etc?
Thanks :)
Edit for context: I'm part of the RO-Crate team at the University of Manchester, UK, with a focus on RO-Crate tooling.

Hi @elichad,
I'm glad to hear that this repository is of use to someone! This project started as a university assignment, and we are not actively maintaining it anymore. However, we welcome you to further develop it. :)
Please note that the project is not fully tested, so there may be some bugs that need fixing. If you have any questions or need any information about the original implementation, feel free to reach out.
Best of luck with your development :)
Best,
Philipp

Thanks @beerphilipp for the information! I've made a fork over in https://github.com/ResearchObject/ro-crates-deposit and will do some further development there.


Attempt ordering exception handlers by exception class inheritance

At the time of writing, exception handlers are matched in LIFO order, i.e. when searching for an error handler to match a raised exception, and more than one handler matches the exception type, the framework will choose the one that was most recently registered.
In case one has many error handlers for classes potentially inheriting from each other, this may become very error-prone and confusing in case a wrong handler swallows the exception.
Investigate if it is possible to order exceptions statically as they are being added (not at the time of catching).
Prior art: Flask/Werkzeug claim to handle this; investigate how it is done there.

Since this is relevant to the other work I did with error-handling, I can dig into werkzeug and try to figure out what's going on there. Don't promise to finish said research though 😅

Here are the relevant lines in Flask for using the most specific handler available. They have some additional levels of categorization for blueprints, or storing handlers by code instead of exception class, which don't seem relevant for Falcon.
So, basically, the error handlers are stored in a dict of {<exception class>: <handler callable>}. Then they iterate through <raised exception>.__mro__ (which produces a tuple of the class hierarchy from least to most general) until a match is found in the error handler dict.
If y'all decide to do this, it seems like it should be pretty straightforward.

@vytas7 I might be misunderstanding the issue here... what is the problem with having handlers associated with more than one exception? Can't you just store that as {Exception1: handle_exceptions_1_and_2, Exception2: handle_exceptions_1_and_2}?

@csojinb No, there is no problem per se, that is what my suggestion #2 is basically aiming at.
You could store expand that to handlers in a way you depict, however, if possible, for performance reasons it would be good to keep exceptions grouped in case they sort equal on the inheritance scale.

Where did we end up on this issue? Is https://github.com/falconry/falcon/pull/1527 still waiting on this?

@kgriffs this is, strictly speaking, not blocking #1527 .
But it would make the implementation more straightforward and consistent, but not having to care the default bare handler is invoked last.

OK, I'd love to have this smarter ordering implemented for 3.0 if we can swing it, otherwise push to 3.1.

Any volunteers? :)

P.S. When this is implemented, don't forget to update the note under the add_error_handler() docstring.

I think Falcon users who (read: me :slightly_smiling_face: but I think @jmvrbanac also uses this pattern and has even advised users to do so) add a custom exception handler for Exception may also be re-raising HTTPError & HTTPStatus which are then caught in a special clause in API._handle_exception.
Not sure if we need to do much about this now though. The problematic should be gone once we introduce exception ordering.

Hi, I put up a draft PR with an implementation for this. I was hoping to get some input on the approach before adding tests, etc.
I went with the simpler implementation because I didn't totally understand @vytas7's first suggestion for managing shared error handlers. Should I do a benchmark comparison or something for this implementation?

Scratch those suggestions. Your proposed approach is way more scalable in the general case I think :+1: (it is only adding complexity traversing the MRO, but the class lookup itself is dict-based (O(1)-ish)).

Resolved in https://github.com/falconry/falcon/pull/1603
Thanks @csojinb ! :tada:


Config not created

Hi,
I am new to modding GCFW, installed Bezel today and added CoreModCollection (first also AutoCast and ManaMansion, but I took them out). The issue is that there is no config file created after installing everything and playing after installation in the AppData location you specified in the description.
Maybe there's an issue?

It doesn't manage the settings file itself anymore and instead registers the settings with bezel and that handles it instead.
Settings can be changed from the options screen in-game although it needs to re-apply patches in order for it to make a difference.


Correct copyright notices to reflect Copyright OpenSearch Contributors

Coming from https://github.com/opensearch-project/.github/issues/21.
The correct copyright for open-source projects in opensearch-project is "Copyright OpenSearch Contributors". Please correct any places that say otherwise, especially where it says copyright Amazon. Make sure NOTICE.txt and README match. See https://github.com/opensearch-project/.github/pull/24 for an example.

Looks like this was corrected starting this PR - https://github.com/opensearch-project/index-management-dashboards-plugin/pull/83/files/. Resolving the issue

The correct header for files like this one is:
/*
 * Copyright OpenSearch Contributors
 * SPDX-License-Identifier: Apache-2.0
 */

For files that contain attribution to an external project, place this long version above those of the external project(s).
/*
 * Copyright OpenSearch Contributors
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */

Here is a rough list of files that need to change:
https://github.com/opensearch-project/index-management-dashboards-plugin/search?q=copyright+amazon.com+reserved


bug: Introduced regression with key handling

Did you check docs and existing issues?

[X] I have read all the lazy docs
[X] I have searched the existing issues of lazy
[X] I have searched the exsiting issues of the plugin I have a problem with

Neovim version (nvim -v)
0.8.0
Operating system/version
Linux
Describe the bug
Using a key binding to load plugin results in random register pastes instead of actual key press. See repro.lua.
Reverting this change fixes the issue: https://github.com/folke/lazy.nvim/commit/e93f50fd1b49f09725ecd310a3cce2cd860ff5a0
Steps To Reproduce

see repro.lua

Expected Behavior
Key-binding should load plugin and forward key event normally (7.9.0 behaviour)
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
vim.keymap.set('n', '<Leader>e', '<Plug>(x-file-explorer)', { silent = true })
local M = {
  "nvim-neo-tree/neo-tree.nvim",
  branch = "v2.x",
  dependencies = {
    "nvim-lua/plenary.nvim",
    "kyazdani42/nvim-web-devicons",
    "MunifTanjim/nui.nvim",
    "plenary.nvim",
    'nvim-web-devicons',
    'nui.nvim',
  },
  keys = {
    '<Plug>(x-file-explorer)',
  },
  config = function()
     vim.keymap.set('n', '<Plug>(x-file-explorer)', '<cmd>Neotree toggle<CR>', {})
  end
}
local plugins = {
    "folke/tokyonight.nvim",
    M
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")

Duplicate of https://github.com/folke/lazy.nvim/issues/307 that was raised while raising this issue.

There is this comment on nvim_input() API that is likely related:
   Note:
        |keycodes| like <CR> are translated, so "<" is special. To input a
        literal "<", send <LT>.

Should be fixed now. Do make sure you set your mapleader before loading lazy


Issues running examples

Hi,
Thanks for releasing this library - it looks awesome! I have the same issue mentioned at https://github.com/twitter/torch-ipc/issues/26, when I run allgpu-allreduce: but it occurs even without other jobs running.
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ th allgpu-allreduce.lua
Found 8 GPUs, forking children...
INFO: torch-ipc: CUDA IPC not possible between GPU0 and GPU7
INFO: torch-ipc: CUDA IPC not possible between GPU7 and GPU0
INFO: torch-ipc: CUDA IPC not possible between GPU0 and GPU6
INFO: torch-ipc: CUDA IPC not possible between GPU6 and GPU0
INFO: torch-ipc: CUDA IPC enabled between GPU0 and GPU3
INFO: torch-ipc: CUDA IPC enabled between GPU3 and GPU0
INFO: torch-ipc: CUDA IPC enabled between GPU0 and GPU2
INFO: torch-ipc: CUDA IPC not possible between GPU0 and GPU5
INFO: torch-ipc: CUDA IPC not possible between GPU0 and GPU4
INFO: torch-ipc: CUDA IPC not possible between GPU5 and GPU0
INFO: torch-ipc: CUDA IPC not possible between GPU4 and GPU0
INFO: torch-ipc: CUDA IPC enabled between GPU2 and GPU0
/home/t-jouesa/torch_installs/torch_rbgk40/install/bin/luajit: ...orch_rbgk40/install/share/lua/5.1/ipc/DiscoveredTree.lua:15: ERROR: (/home/t-jouesa/code/torch-ipc/src/cliser.c, 336): (9, Bad file descriptor)

stack traceback:
	[C]: in function 'client'
	...orch_rbgk40/install/share/lua/5.1/ipc/DiscoveredTree.lua:15: in function 'LocalhostTree'
	allgpu-allreduce.lua:39: in main chunk
	[C]: in function 'dofile'
	...rch_rbgk40/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
	[C]: at 0x00406670
/home/t-jouesa/torch_installs/torch_rbgk40/install/bin/luajit: ...installs/torch_rbgk40/install/share/lua/5.1/ipc/Tree.lua:36: ERROR: (/home/t-jouesa/code/torch-ipc/src/cliser.c, 446): (server timed out waiting for clients to connect)

stack traceback:
	[C]: in function 'clients'
	...installs/torch_rbgk40/install/share/lua/5.1/ipc/Tree.lua:36: in function 'initialServer'
	...installs/torch_rbgk40/install/share/lua/5.1/ipc/Tree.lua:136: in function 'LocalhostTree'
	allgpu-allreduce.lua:39: in main chunk
	[C]: in function 'dofile'
	...rch_rbgk40/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
	[C]: at 0x00406670

I'm able to run examples/allreduce.lua with the CUDA option, and it doesn't hang.
The second issue is that in both cases, not all of the GPUs allow CUDA IPC. This appears similar to https://github.com/twitter/torch-ipc/issues/17 but I don't seem to have APC enabled, based on running commands, like
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 07:00.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 08:08.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 08:10.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 0b:00.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 0c:08.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 0c:10.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 21:00.0 -vvvv|grep -i acs
t-jouesa@rbgk40:~/code/torch-ipc/benchmarks$ lspci -s 22:01.0 -vvvv|grep -i acs

Sorry my bad, the error messages make total sense here - GPUs 0-3 are connected, and GPUs 4-7 are connected, but not between the two. Closing.


Front end dev

Adding more component base testing.

[ ]  Does the code work?
[ ]  Are functions, methods, and variables adequately named?
[ ]  Any test on the new component?
[ ]  Is it well tested? All components could be rendered and pass the test.
[ ]  Is the code clear and easy to understand?
[ ]  Does it meet the team guidelines and style guides?
[ ]  Is there any duplicated code?
[ ]  Is documentation on functions, methods, classes, contexts, and behaviours adequate?
[ ]  Is the code as modular as possible?
[ ]  Are there better or simpler solutions?
[ ]  Is there any performance issue?

Added advanced search function


Can Nuscene dataset be suitable for your model ?

Hi,thanks for your great work!
I want to ask that what should I do to process and use Nuscene dataset for your model ?
Thanks for your help.

Hi, Nuscenes should be straightforward to use, but it requires writing a pre-process script as the ones here: https://github.com/tobiasfshr/map4d/blob/main/src/map4d/scripts/process_data.py
Note however to get best quality I would recommend to use the full 12 Hz images, which will be a bit tedious to deal with due to the different capturing frequencies of the cameras and the LiDAR + annotations. As far as I know, these are only synchronized at the mentioned 2Hz.
If you end up writing a pre-processing script for it, please feel free to make a PR! :)


travis: enforce generated code, add 1.x

Update protoc to v3.5.1 while I'm here.
Spiritual successor to #37.

@dsnet @neild this is green now.

It's probably not appropriate to pull this into make test; doing so will
mean that make test will fail any time there are uncommitted changes,
which is basically always during development.
On Feb 21, 2018 12:34, "Damien Neil"<EMAIL_ADDRESS>wrote:

@neild commented on this pull request.
In .travis.yml
https://github.com/golang/protobuf/pull/521#discussion_r169717601:

env:

PATH=$HOME/protoc/bin:$PATH

script:

make all test

make all

make regenerate

I guess my question is: If this is doing something that make test doesn't
already do, should we just fix make test?
("Fixing make test is hard" is a valid answer. :) )
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/protobuf/pull/521#discussion_r169717601, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABdsPJIKX_FarQpfIpiWO6D_nM1oNbHdks5tXFOngaJpZM4SN0dN
.

@dsnet anything else you'd like to see here?

LGTM. Leaving for @neild, for whether he is still concerned that make regenerate is always being run before the tests.


Fails to start on due to DRI driver not matching system

$ lapce -w
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '24.0.5-1ubuntu1')

Lapce v0.4.0  x64
OS: Ubuntu 24.04 LTS

Closing as the reason was local issue.
(Started from Alacritty that was installed as snap, built against a different mesa build than the distro packages (Ubuntu 24.04 LTS), causing everything started from alacritty to fail).


Added a method to increase the accuracy of a linear regression model

Added a method to increase the accuracy of a linear regression model by using an iterative approach to check which batch size is best for training @souvikg544 merge it plz

@souvikg544 Merge it plz


Can't use name parameters for less than/greater than conditions

Version
1.12.0
What happened?
I tried to use named params for greater than check, but I get a syntax error. Works with $1 in place of @offset. Also sqlc.arg does not work either.
Relevant log output
# package query
queries/relations.sql:1:1: syntax error at or near "offset"

Database schema
CREATE TABLE IF NOT EXISTS permission_group_membership (
  group_name TEXT NOT NULL,
  entity TEXT NOT NULL,
  ns TEXT NOT NULL,
  object TEXT NOT NULL,
  PRIMARY KEY(ns, group_name, entity)
);

SQL queries
SELECT *
FROM permission_group_membership
WHERE entity > @offset
LIMIT 50;

Configuration
version: 1
packages:
  - path: "query"
    name: "query"
    engine: "postgresql"
    schema: "sqlcSchema.sql"
    queries: "./queries/"
    sql_package: "pgx/v4"

Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

@danthegoodman1 I think that what you are hitting here is a problem with the use of the token offset-- which is also reserved in SQL.  I plugged your code into the sqlc playground and reproduced the problem, but when I changed offset to theoffset it worked.  Dunno if that helps.
https://play.sqlc.dev/p/6073003aaa3db6eae4250aee0de4c82ed28c7864064671fd50761341a9a900d0

Ahh that could make sense, will have to try

Closing this one as there are two workarounds. I'm not sure we'll be able to get around using a reserved word with short-hand syntax.


The styling of the headers on the readme should match the styling of the headers on GitHub readme

Currently, the headers (h1, h2, h3...) on the readme section have inconsistent styling (i.e. the h1's are smaller than h3's). The styling for the headers in the readme section should match the styling of the headers found in the GitHub readme section
Acceptance Criteria
Given I Navigate to the details page of a resource
When I See the headers in the readme section
And when I Navigate to the GitHub page for that resource
Then I Should be able to see that the headers on both the details page and the GitHub page are the same

check if Github provides any library for markdown formatting.


Change tracking

What
As a host, I'd like to be able to determine when an entity has changed to avoid redundant API calls.
Why
In order to do do some work (such as render a composition that loads hundreds of images), I need to resolve assorted information about the entities that represent the pre-requisite inputs to the task (such as path, frame range, etc). If I am working in a persistent interactive session (as opposed to a one-off process), this data may change during the lifetime of the session. I need to make sure that the user is aware of any changes that may be relevant.
At present, the guidelines are to re-resolve as frequently as possible without degrading performance, however even this has a significant overhead in many cases (such as node graph change tracking). As such, a host is forced into some kind of local caching regardless, as true JIT resolution is too expensive.
Notes
The current guidance is in place for several reasons:

Consultation with manager authors suggested an initial strategy of "make the API as thin as possible, so we can control this mechanism" was prudent as whatever API-level strategy we pick may not be well suited to any given back-end implementation.
The assumption that we could make the API light weight enough (when the C++) only path was used that the call into the manager-side cache was reasonable.

This has several practical issues:

It places a significant burden on the manager code to ensure performance, which in itself is a non-trivial programming exercise.
Managers written in Python etc... will be unable to implement a suitably thin bridge to a cache of their own due to the GIL.
Even with the thinest API, no work is better than some work.

The result of which is that hosts are generally forced to introduce a caching layer of their own in between resolution and use of the resulting data (often in a similar fashion to their existing file handling code).

As soon as any host-side caching is in play, the possibility for incorrect data re-surfaces.
It places significant burden on the hosts implementation to maintain performance.

Consequently, we accept the need for host-side caching as a reality in any production-ready deployment that has to support a range of managers. How do we make this as simple as possible for everyone?
There have been a few discussions on this matter that have presented potential approaches. These need proper consideration with representatives from both the manager and host communities:

A CacheControl trait that can be resolved with entity data, similar in behaviour to the cache-control HTTP header.
A first-class pub/sub mechanism where hosts can subscribe to push updates for specific entities/traits.

The solution to this problem needs to be considerate of the variety of back-end implementations on both sides to insure its presence doesn't significantly affect the ability of a manager or a host to support the API. We should consider what 'out the box' mechanisms the API could provide to alleviate the burden on both parties (such as robust read-through caching, hooked up to available change tracking mechanisms etc)

This is most likely going to be on a Y24 timeframe, where hopefully we've gotten over the topic of "naming things" and so can move onto the "other hardest problem in computer science" 🤣.
We need to consult with the TSC where this sits in relation to the UI layer and other Y24 priorities. My hunch is that it would be worth getting basic browsing supported first, in the name of a proper end-to-end workflow, as there are workarounds for this right now, but no work around for UI delegation.


Proposal: add transformation from TestMessage[] to marble string in TestScheduler

I'm trying to test a lib based on RxJS and I noticed that Developer Experience could be improved a lot. For instance this is the output using Jest matcher for deepEqual passed to TestScheduler.

Actually it's not that bad because Jest did a great work with diffs, but if you try instead assert.deepEqual from Node or other test runner matchers you get a much worse result.

To improve this situation in my testing I've created a small utility to convert from TestMessage[], passed to the matcher, back to a marble string. I think this could be done directly by TestScheduler and different test runners like Mocha, Jasmine or Jest could take advantage from it.
The current result is this:

You can catch the problems immediately or look at TestMessage[] for more granular info.

I'm closing this issue for now via umbrella issue https://github.com/ReactiveX/rxjs/issues/1775, I've been working to create new test interfaces but too busy, it's bit stalled. Once we have initial design for new impl we can discuss enhancements from there.

I think the issue should be kept open to since it's not solved and in #1775 there isn't any explicit point about it. Anyway thank you for your hard work on RxJS, I really don't have complains!


Necessary environment variable for configuring s3 as result storage

In order to configure S3 as a result storage, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are required as environment variable for boto3.
Even though people who are familiar with boto3 may know this fact, I feel like a lot of people will be confused and face "access denied" issue.
Isn't it better to explicitly write this on code or at least on the document?
I am willing to contribute to this :)
Thank you 👍

Hi Yongchan, yes that would make sense. When I implemented it internally, the aws_access_key_id and secret key wasn't needed. I was guessing it is because of the iamrole which granted the access.
Would you mind to update the documentation here https://github.com/pinterest/querybook/blob/master/docs_website/docs/integrations/add_result_store.md about the s3 result storage? We can have the format similar to https://github.com/pinterest/querybook/blob/master/docs_website/docs/integrations/add_auth.md. If it is a common problem people face, we can add this to code to make it easier. Thank you!


fetch list of available band

How fetch list of available band's ? I don't want connect automatically, I wanna choose by mac address

My PoC does not provide such functionality unfortunately. To be honest I was focusing on establishing of work between native part and react parts mostly. However I do not see serious difficulties to add it. More likely 5 steps must be done to achieve it:

Rewrite DeviceScanCallback class to return list of found devices when @ReactMethod public void enableBTAndDiscover(Callback successCallback) method is called by React side;
Block onScanResult(int callbackType, ScanResult result) method from auto connection to first found device;
Handle list of found devices in searchBluetoothDevices function we have in bandConnector.jsx. By handling I mean: to show somehow devices on screen. Some 'connect' button can be put toward each found device item.
Declare a new react function that gets mac address as a parameter and transfers it to native (java) side.
Create '@ReactMethod public void connectByMac(String macAddress, Callback successCallback)' method in DeviceConnector.java class. It will just look for found device by provided MAC and link with one matched.

Thank you for you fast reply! I will try follow these steps

No problem. If you have some difficulties with that just ping me. Will help gladly.

I trying to implement that, but I'm not android developer, and I've difficulties with some things,
I created deviceList, but on DeviceConnector.java I really don't know how return that, I try in this way, but is not correct
 final ScanCallback deviceScanCallback = new DeviceScanCallback(this, successCallback).deviceList(successCallback);
deviceScanCallback.java
`package com.sbp.bluetooth;

import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanResult;
import android.util.Log;

import com.facebook.react.bridge.Callback;
import com.sbp.R;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

public class DeviceScanCallback extends ScanCallback {

    class DeviceInterface {
        String address = null;
        String name = null;
    }

    private DeviceConnector deviceConnector;
    private Callback successCallback;
    private List<DeviceInterface> deviceList= new ArrayList<>();

    DeviceScanCallback(DeviceConnector deviceConnector, Callback successCallback){
        this.deviceConnector = deviceConnector;
        this.successCallback = successCallback;
    }

    private void AddDevice(String name, String address){
        DeviceInterface deviceObj = new DeviceInterface();
        deviceObj.address = address;
        deviceObj.name = name;

        boolean alreadyAdded =  deviceList.contains(deviceObj);

        if(!alreadyAdded){
            deviceList.add(deviceObj);
        }

    }

    @Override
    public void onScanResult(int callbackType, ScanResult result) {
        String deviceName = result.getDevice().getName();
        if (deviceName != null && deviceName.equalsIgnoreCase(
                Objects.requireNonNull(
                        deviceConnector.getApplicationContext())
                        .getString(R.string.mi_band_device_name_3))){
            Log.d("TAG", "Device found " + result.getDevice().getAddress() +
                    " " + deviceName);
            deviceConnector.setBluetoothDevice(result.getDevice());
            deviceConnector.getBluetoothAdapter()
                    .getBluetoothLeScanner()
                    .stopScan(this);
            deviceConnector.getSearchProgressDialog().dismiss();
            deviceConnector.connectDevice(successCallback);
        }
    }

    public List<DeviceInterface> deviceList(ScanResult result) {
        Log.d("TAG DEBORA", "Device found " + result.getDevice().getAddress() + result.getDevice().getName());
        String deviceName = result.getDevice().getName();
        String deviceAddress = result.getDevice().getAddress();
        if (deviceName != null && (deviceName.equalsIgnoreCase(
                Objects.requireNonNull(
                        deviceConnector.getApplicationContext())
                        .getString(R.string.mi_band_device_name_3)) ||
                deviceName.equalsIgnoreCase(
                        Objects.requireNonNull(
                                deviceConnector.getApplicationContext())
                                .getString(R.string.mi_band_device_name_4)))) {

            this.AddDevice(deviceName, deviceAddress);

            Log.d("TAG", "Device List " + deviceList);

        }
        return deviceList;
    }

}
`

@Spayker I try too in this way, but I receive an error

Let me create a separate PR where the device list will be implimented

@Spayker Thank you very much, it will be very useful

Just added it. You can pull changes from master and check it. There can be some minor bugs but general logic fine.

thank you it's works...


Arrow keys of Hacker's Keyboard in console

It is helpfull, may be, to use arrow keys  of Hacker's Keyboard in Acode console like keyboard arrow keys in desctop browser console.

Thanks for the great suggestion. I'll enable arrows keys to be used in the console.


Native Notebooks: I can't readily tell which cell is selected to run...

Quick, which cell is going to execute if I press shift-enter in this situation? The single blue lines that are used to denote the "selected cell" break down when the tops or bottom of cells appear off screen.

Related to: https://github.com/microsoft/vscode/issues/112096 and https://github.com/microsoft/vscode/issues/113246

Keeping in parking lot to fish for end-user upvotes. :)


RPC call to download k-buckets

For those writing crawlers, it would useful to have an RPC call to download the known nodes of a given node, without restricting the search to the k closest nodes to a given ID. Would you consider adding an RPC call to download the k-buckets of a given node?

That's possible. I don't know if it's a high priority right now though, maybe going forward.

I believe @SamiLehtinen also requested something like this. I've flagged this issue with help wanted if someone wants to dive in and code up this feature.

What is @SamiLehtinen working on?


Minification does not work :(

Laravel Framework 9.52.4
PHP 8.1.18
Composer version 2.3.7 2022-06-06
Livewire 2.x
Hi, I have a problem when viewing the minified blade files, I don't know if it's 'cause I'm using Livewire? thanks
already tried with view:clear command and config:clear and force => true

The same here. I've installed the package and follow every step and this package does totally NOTHING. Nothing like view:clear or set "force" to true doesn't help.
Laravel 9.52.15
PHP 8.1.23

The same here. I've installed the package and follow every step and this package does totally NOTHING. Nothing like view:clear or set "force" to true doesn't help.
Laravel 9.52.15 PHP 8.1.23

did you add the middleware to the routes? that actually does the HTML minification

Found it, you need to modify app/Http/Kernel.php file to make it work:
protected $middleware = [
    ...
    \HTMLMin\HTMLMin\Http\Middleware\MinifyMiddleware::class
];

Documentation: https://laravel.com/docs/10.x/middleware
Can someone update the documentation?


openminds.core.Organization.digitalIdentifier has wrong fields

Hi Eivind -
Hope it's okay to post an issue.
I'm trying to create some objects and I ran into a problem with core.Organization.digitalIdentifier
The schema for V3 and V4 shows that digitalIdentifier should be a 'GRIDID', 'RORID', or 'RRID'. However, when I make an object, it says it needs to be a 'DOI','ISBN',or 'RRID'.
>> org = openminds.core.Organization

org =

  Organization (https://openminds.ebrains.eu/core/Organization) with properties:

          affiliation: [None]  (Affiliation)
    digitalIdentifier: [None]  (DOI, ISBN, RRID)
             fullName: ""
            hasParent: [None]  (Organization)
             homepage: ""
            shortName: ""

  Required Properties: fullName

It's more than just a labeling issue, it won't let me assign an ROR to the field:
>> ror = openminds.core.RORID('identifier','https://ror.org/05abbep66')

ror =

  RORID (https://openminds.ebrains.eu/core/RORID) with properties:

    identifier: "https://ror.org/05abbep66"

  Required Properties: identifier

>> org.digitalIdentifier = ror
Error using openminds.core.Organization
Error getting instance of linked type 'digitalIdentifier' of class
'openminds.core.Organization'. Value must be one of the following types:
  openminds.core.DOI,
  openminds.core.ISBN,
  openminds.core.RRID

I looked through the code to try to find where it's coming from but I don't see it...the schema seems to be right:
openMINDS-MATLAB/schemas/source/uml/core/v4/actors/organization.uml:

@startuml
class Organization {
+affiliation
+digitalIdentifier
+fullName
+hasParent
+homepage
+shortName

}
Organization -d-> "affiliation" Affiliation
Organization -d-> "digitalIdentifier" GRIDID
Organization -d-> "digitalIdentifier" RORID
Organization -d-> "digitalIdentifier" RRID
Organization -d-> "hasParent" Organization

@enduml

I looked around a bit but couldn't figure it out. Any ideas?
Thanks
Steve

Wait, I found it. The issue is in this file:
openMINDS-MATLAB/schemas/matlab/+openminds/+linkset/DigitalIdentifier.m

It hard-codes the digital identifier types as
classdef DigitalIdentifier < openminds.abstract.LinkedCategory
    properties (Constant, Hidden)
        ALLOWED_TYPES = ["openminds.core.DOI", "openminds.core.ISBN", "openminds.core.RRID"]
    end
end

Hi Steve,
Yes of course and thanks for bringing this up! I added a fix. In order to apply it, you need to run om.update() (this should regenerate all the matlab classes). Please let me know if that works.

Looks good.
I generated a test function. It works on creation (see Pull Request #2 ).
There is a little issue with displaying the affiliation/organization (warning). Not a huge priority because it is not an error.
Thanks
Steve
p = om.test.oneoffs.person
p =
  Person (https://openminds.ebrains.eu/core/Person) with properties:

           affiliation: [1×1 Affiliation]
Warning: The following error was caught while executing 'openminds.core.Affiliation' class method
'compactRepresentationForSingleLine':
Conversion to text from openminds.linkedcategory.affiliation.MemberOf is not possible.
         alternateName: [1×0 string]
     associatedAccount: [None]  (AccountInformation)
    contactInformation<EMAIL_ADDRESS>(ContactInformation)
     digitalIdentifier: https://orcid.org/0000-0000-0000-0000  (ORCID)
            familyName: "Smith"
             givenName: "John D."
  Required Properties: givenName

This error might be related, too:
openminds.Serializer(p.affiliation.memberOf)
Unrecognized method, property, or field 'X_TYPE' for class 'openminds.linkedcategory.affiliation.MemberOf'.
Error in openminds.Serializer (line 40)
            obj.SchemaType = instanceObject.X_TYPE;

Good catches! I fixed the serialization error in 09875c5. You might have noticed a warning about embedded properties not being serialised, and I will see If I have time to also fix this during one of the next days.


ionDidChange event not working for slides?

I was looking at the documentation for the slides component, and it mentions
<ion-slides #mySlider (ionDidChange)="onSlideChanged()" [options]="mySlideOptions">
The ionDidChange implementation did not work, but it did work using (slideChangeStart) which I found in the ionic-conference-app, and is also listed in the Swiper API.
It could be that I messed it up, but slideChangeStart (as well as the rest of the example in the doc) worked and ionDidChange doesn't seem to appear anywhere else after searching the docs. Is this event still in use? If so, where would I find a table of these events because it is not obviously available.
I'm running ionic-native 1.2.4.

@cjosh hi, could you run ionic info and post the results here?

The documentation defaults to the nightly version of the API, if you click the drop down in the top left you can see the docs by version. We recently changed the name of all of the events and that will be in the beta 8 release. We'll have all of the new event names listed in the changelog once we release.
Also, ionic-native is the wrapper for Cordova plugins. The ionic-angular package is the framework itself, and the latest is beta 7. :smile:


Regarding hyperlink option non-availability

Hi Team,
Currently i am not able to find a way to create hyperlink in generated .md file. If  opened in browser the generated .md file it is all plain .So do we have any option with which we can create hyperlink b/w Index and functions.
Do we have option to create pdf file documentation as well from shdoc itself as well?
Thanks

Hi Team,
Any suggestions ?
Thanks

Hello,

try to put markdown link [link](link) into the comments instead of pure links
shdoc doesn't generate pdf, it only generates markdown, I think you can use some other tools to generate pdf from markdown.

Thanks a lot @kovetskiy for your suggestions .2nd part is clear  regarding 1st one still i have some doubt.
To be precise below is what i am trying to achieve .
Index

func_1()
func_2()
func_3()

func_1()
Description of func_1
Function has no arguments.
Exit codes

1: Failure/Error case.

func_2()
Description of func_2
Function has no arguments.
Exit codes

1: Failure/Error case.

func_3()
Description of func_3
Function has no arguments.
Exit codes

1: Failure/Error case.

So While opening in browser can we achieve a functionality where  Index of func_1 becomes hyperlink as well as clicking there will take us to it's function definition.
Thanks

But it's working like that already, no?
Here we have Index with clickable links
https://github.com/reconquest/shdoc/blob/master/examples/readme-example.md

In case i am opening raw .md file generated by shdoc hyperlink part not working for me .Tried opening .md file in chrome browser in windows 10.
Version details-Version 88.0.4324.150 (Official Build) (64-bit).
Let me know in case i am missing something.
Thanks

I'm not sure what you mean by opening markdown in chrome browser. Markdown should be rendered by something into HTML.


SharedArrayBuffer's Atomics.waitAsync() primitive is in need of cancellation support in order to not obstruct GC

Implementing Atomics.waitAsync based multithreading primitives to Emscripten WebAssembly code libraries, it was realized in https://github.com/WebAssembly/threads/issues/176 that the ability to perform memory deinitialization after having issued a Atomics.waitAsync is severely impaired without a mechanism to cancel a waitAsync operation.
In that thread it was suggested that maybe a future machinery to enable cancelling a Promise might help the issue and let garbage collection to happen properly, without requiring sites to wrap all their multithreaded WebAssembly content inside iframes for GC to work.
Would Promise cancellation mechanism be suitable for fixing the current Atomics.waitAsync GC problem? Are there any rough eta estimates for Promise cancellation support to arrive in browsers? (2021? or later? or too early to tell?)

The cancellation of async operations already exists in browsers (AbortController/AbortSignal), but that implementation depends on browser-specific APIs (i.e., EventTarget) that don't exist in ECMA-262. An alternative I've proposed is #22, defining a symbol-based cancellation protocol that could be recognized in ECMA-262 and implemented on top of AbortController/AbortSignal, or in user-land code.
I plan to bring cancellation (in this protocol form) back before committee later this year.

The cancellation of async operations already exists in browsers (AbortController/AbortSignal), but that implementation depends on browser-specific APIs (i.e., EventTarget) that don't exist in ECMA-262. An alternative I've proposed is #22, defining a symbol-based cancellation protocol that could be recognized in ECMA-262 and implemented on top of AbortController/AbortSignal, or in user-land code.
I plan to bring cancellation (in this protocol form) back before committee later this year.


Question: How to configure DeepChat to always automatically scroll to show the latest user message at the top followed by AI message?

I would like to configure the chat experience to always show the latest user message at the top followed by AI message.
Is there any way to configure DeepChat to automatically scroll to give such an experience to the user?

Thank you for considering this feature! I’ve been really hoping for this functionality, as it would be a great addition to DeepChat. Please suggest how I might enable this behavior or implement something similar. Any tips or guidance would be much appreciated!

Hi. I am not sure if I understand the request correctly. Do you mean you want new messages to appear at the top instead of the bottom?

@OvidijusParsiunas I was thinking about a small change to how the messages are shown. Right now, the user’s message and the AI response are added as separate divs. It might make more sense to group them together in one "conversation" div. This way, each exchange will appear as a single unit, and the latest conversation group can take up the full height of the screen (100vh).

Hi. I am not sure if I understand the request correctly. Do you mean you want new messages to appear at the top instead of the bottom?

Hi @OvidijusParsiunas - thank you for your response.
To clarify, I don't want new messages to appear at the top instead of the bottom. I want the flow of messages and the order they are shown to remain the same. What I am looking for is a way to configure DeepChat so that, at any time, however big the chat window is, the user sees only their last message and its associated AI response. The older messages should still be accessible by scrolling up.
This approach is similar to the user experience used by pi.ai and co-pilot.microsoft, where only the latest user message and its response are shown, creating a streamlined and minimalist chat experience.
See this video that repros the UX : https://github.com/user-attachments/assets/a5a261fd-a841-4ed9-9773-19f9de53fe6e
I hope this clarifies my request. Thank you for considering this feature!
Best regards,
/Avi

Hi. I experimented with the code to see if this would be possible. And it is.

Hi. I experimented with the code to see if this would be possible. And it is.
The features for the upcoming release have been finalised which will take place either this weekend or next week.
I will experiment a little more with the feature that you proposed as I have a feeling that it could introduce a few bugs, hence I'll fully explore it after the upcoming release and release it to our dev packages afterward.
I will update this thread when this will take place.
Thankyou!

You rock - thank you very much.

@OvidijusParsiunas I'm happy to help in any way I can.
Was my proposal for implementing the feature on the right track, or did I miss the mark?
If this feature is too complex, I'd be glad to work on another 'good first issue' instead.
Please let me know!

I have been eagerly checking for the release every few hours - looking forward to seeing what you have for us in the new release 😳
LOL - looks like you are our Santa Clause bearing gifts this holiday season 😝


Performance improvement

This is based on the idea in #413 but this also works for async since the decision to yield from the active task is done at a lower level. To attribute the user who came up with the original idea I included that commit.
Here are some figures using ESP32-C6 with this cfg.toml
[esp-wifi]
rx_queue_size = 32
tx_queue_size = 3
static_rx_buf_num = 16
dynamic_rx_buf_num = 32
ampdu_rx_enable = 0
ampdu_tx_enable = 0
rx_ba_win = 32
max_burst_size = 6
heap_size = 86000

Using embassy_bench.rs I got these results (with a lot of RF noise, connected the ESP32-C6 to my laptop's hotspot)
original
Testing download...
connecting to Address([192, 168, 137, 1]):4321...
connected, testing...
download: 410 kB/s
Testing upload...
connecting to Address([192, 168, 137, 1]):4322...
connected, testing...
upload: 210 kB/s
Testing upload+download...
connecting to Address([192, 168, 137, 1]):4323...
connected, testing...
upload+download: 307 kB/s

Reply from <IP_ADDRESS>: Bytes=32 Time=31ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=33ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=34ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=33ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=54ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=40ms TTL=64

with these changes
connecting to Address([192, 168, 137, 1]):4321...
connected, testing...
download: 1046 kB/s
Testing upload...
connecting to Address([192, 168, 137, 1]):4322...
connected, testing...
upload: 1823 kB/s
Testing upload+download...
connecting to Address([192, 168, 137, 1]):4323...
connected, testing...
upload+download: 1154 kB/s

Reply from <IP_ADDRESS>: Bytes=32 Time=1ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=3ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=2ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=1ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=4ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=2ms TTL=64
Reply from <IP_ADDRESS>: Bytes=32 Time=5ms TTL=64

This also fixes the embassy_bench.rs exampe.

This looks great! Gonna definitely try async when i get home from vacation next week :)

Woah! This is a huge improvment!

I'm getting 2MB/s upload in also pretty congested network! Thanks for the idea @karlri!

With these changes, what would happen if the user tried to call this code from the other CPU core on dual-core models? I guess that use case was never officially supported but still:
We would not want to task switch away from the wifi driver and we wouldnt want to interrupt the wrong core or something I guess.

With these changes, what would happen if the user tried to call this code from the other CPU core on dual-core models? I guess that use case was never officially supported but still:
We would not want to task switch away from the wifi driver and we wouldnt want to interrupt the wrong core or something I guess.

The scheduler doesn't support running some tasks on different cores currently and most probably never will. In theory we can run everything on the second core (needs some adjustments currently) but nothing changes then - it's just a different core. The interrupt is asserted on the same core in that case


Don't read past the expression end in interp strings

Closes #10377

The solution I used instead is to not change the "}" to a NUL.  The expression evaluation will stop before the "}", just like it stops before a closing paren.


Update Post “what-do-termites-look-like”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
334f51e8d2463177d213dba3e5afc2404916d66e

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/654ef920c6ce5f00081f281c


WFLY-11094 Elytron does not do RunAs identity remote propagation

https://issues.jboss.org/browse/WFLY-11094
Elytron does not do RunAs identity remote propagation, anonymous is being set by default when runas is used, when doing forwarding of identities what gets forwarded in this case is the anonymous principal.

Can one of the admins verify this patch?

@tmiyargi if you are not a Red Hat employee:
We require that all contributions be made under the terms of the MIT License, http://www.opensource.org/licenses/mit-license.php. Do you agree to the these terms?

@tmiyargi pull requests to wildfly should have a WFLY issue associated with them in the PR summary and in the commit messages - not WFCORE as presently done

@tmiyargi This could use tests. To merge downstream for a CP they'd be required.
I don't understand this stuff at all, but I do see that RunAsPrincipalInterceptor has logic to handle 'anonymous' and it looks like the reason RunAsPrincipalInterceptor.runAsPrincipal would be 'anonymous' is the scenario you're checking to prevent RunAsPrincipalInterceptor being used. So you'd better check with @darranl.

@bstansberry test is on the way, RunAsPrincipalInterceptor does not need to be run unless you use runasprincipal, otherwise you propagate the anonymous user instead of using current one.

@darranl or @fjuma could one of you please review this?

Added the fixme label until the discussion above is resolved.

Retest this please
@fjuma does it look ok now?


Round robin Bug even with downgrade

What happens:
I've started to automate the recipe for Draconic evolution with Actually Addition Phantom face and ender io Item Conduit , so , When i say my system to craft some Awakaned Block , it send every needed item in chest and i pull it out with Item conduit into Phantom face linked to Fusion Crafting Injector , i've set the extract with Roud robin with a downgrade , but it send 2 item in one injector , sometimes 1 , but everytime the same amount in the same injector
What you expected to happen:
I wanted to get 1 item in one injector
Steps to reproduce:
1.Get recipe of Awakened Block in a chest
2. Filter every phantom face insert
3.Extract on phantom face linked to injector
1.Send item

Affected Versions (Do not use "latest"):

EnderIO: 1.10.2-3.1.193
EnderCore: 1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: <IP_ADDRESS>7
SpongeForge? No
Optifine? No
Single Player and/or Server?  : Server

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

Use a limited item filter instead.

@EpicSquid Can't find it ?

This is 1.10 not 1.12 epic :)

Limited item filter does existed in 1.10, perhaps it is disabled in your pack?

No i'm talking with the man who setup the server and he didnt disabled anything from Ender IO , but in Sky factory 3 maybe it is ?

Maybe, either way there is a filter in 1.10 in Ender IO that does it

I'm not sure of that x)

Its the one with the green glowing # on it

I can't find hwo to use the Counting filter ? :x


Limitation section needs refactor

The entire “limitation” section talks about arm template and configurations needed to be done
but it’s placed under the general section - so may be non relevant for users who choose to deploy with az cli or portal
actually for those users it looks off-context and confusing.
you need to place the ARM limitations only under the arm deploy method

what’s next - well the obvious part here is to actual see those metrics is grafana - it is also explained how to configure it , so it’s only natural to place here a link on how to view those metrics in grafana !

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

ID: 58a1690b-c20f-b07e-29b9-1a8f98528114
Version Independent ID: c58b4d70-1b2f-166f-8a23-935410e23ca9
Content: Enable Azure Monitor managed service for Prometheus (preview) - Azure Monitor
Content Source: articles/azure-monitor/essentials/prometheus-metrics-enable.md
Service: azure-monitor
Sub-service: essentials
GitHub Login: @EdB-MSFT
Microsoft Alias: edbaynash

@tshaiman
Thanks for your feedback! We will investigate and update as appropriate.

Tagging @EdB-MSFT for visibility, review and document enhancement consideration as appropriate. Thanks.


Unmet peer warnings with Vite 6

Describe the bug
I get this when trying to upgrade @sveltejs/vite-plugin-svelte:
 WARN  Issues with peer dependencies found
.
└─┬ @sveltejs/vite-plugin-svelte 5.0.0
  └─┬ @sveltejs/vite-plugin-svelte-inspector 3.0.1
    ├── ✕ unmet peer<EMAIL_ADDRESS>found 6.0.0
    └── ✕ unmet peer<EMAIL_ADDRESS>found 5.0.0

I guess this line has to be updated:
https://github.com/sveltejs/vite-plugin-svelte/blob/5192b92851b807324bdeaaa1f953841579b0203f/packages/vite-plugin-svelte/package.json#L44
Reproduction URL

Reproduction
No response
Logs
No response
System Info
-

Thanks! Confirming the warnings are gone with 5.0.1.


MC-21331 Intl.DateTimeFormat returns different format

Follow-up of PR merged on the 2021-04-12.

I'm not sure I understood this right. Is it dependent on the user's settings or rather on the user's runtime, i.e. browser?
The issue in #6 was that the runtime (here node) did not support it. Modern browser so, see: https://caniuse.com/?search=Intl.DateTimeFormat

I'm not sure I understood this right. Is it dependent on the user's settings or rather on the user's runtime, i.e. browser?
The issue in #6 was that the runtime (here node) did not support it. Modern browser so, see: https://caniuse.com/?search=Intl.DateTimeFormat

Yeah the issue seems quite tricky 🎃  I tried it in my browser and the format looks good, but the test is failing in our local dev environment and in the build environment, e.g. 2021.04.16 is displayed as 2021/04/16 🐙  "/" instead of "."
I'm not sure if it's sth that we only need to fix for the test, or sth that might potentially result in different display format for users with different user_setting 🤔  (e.g. an old windows machine with edge)
Would be good if we could conclude that it's only a test thing.
I have put this issue as an item in our next sync meeting 😎  and @Sakai-san is currently looking  a bit into it 😇

Did you see https://github.com/open-ch/pyrene/pull/6#issuecomment-800977148 and the issue linked there: https://github.com/nodejs/node/issues/19214
Node <= 12 does not have full ICU support, i.e., it does not come with german date formats. I am guessing you're using node <= 12 on the build hosts. Upgrading node to 14 (LTS) should fix the tests.
Am I the only one confused with a lot of PRs issues etc. covering the same topic? Or do you have some system I just don't understand?

Am I the only one confused with a lot of PRs issues etc. covering the same topic? Or do you have some system I just don't understand?
Can you elaborate why you prefer this tracked in a TODO in the code rather than a Jira or github issue?

Sorry @neonnoon @Sakai-san  for the confusion! Actually I got confused myself too (still getting used to Github 😂 ), but now I think I get everything and let's see if this helps clears up confusion ;)

There are only two PRs covering the topic of TRS timezone display: PR6 and this one
PR6 is merged and let's leave that one and keep the discussion here ;)
This current PR is mapped to an internal Jira ticket and addresses the issue that internal tests were breaking
The "TODO" will be removed soon, but agree that it's best not to track things with "TODO"
Regarding the fixing of the broken tests, #6 (comment) could definitely fix the tests, but there is some concern that, suppose an external user is using Pyrene to develop his/her own application, we could not predict what will be the node version in that environment, would it lead to format display issues? If this would not a potential issue, we would go with this fixing also internally; but if this could potentially turn into some inconsistency in display, we might find a better solution?

@neonnoon Thanks for your comments. Let me explain what this PR is about in two words.
You use the internationalization built-in DateTimeFormat for formatting  a date. So :

the date is formatting depending on the user language in the browse.
the date is formatting depending on the nodejs version on servers (like Continous Integration system).

The thing is that we want a universal formatting. Means the same whatever language setting or nodejs version.

I think there's a misunderstanding between available Intl languages and the browser language.
The de here:
https://github.com/open-ch/pyrene/blob/0eedd32098979c40467c4ef9d8bf1d6ac0c1d72a/pyrene/src/components/TimeRangeSelector/TimeRangeNavigationBar/TimeRangeNavigationBar.jsx#L31
specifically uses german locale, independent from the browser's language setting. As long as the browser supports german it will display it correctly in german style formatting. And this is independent of the user settings.
It is quite difficult to figure out a list of "guaranteed" supported languages. From what I could gather, most browsers are based on http://site.icu-project.org/home (as is node), which contains german.
Now the issue was that full-icu was not contained in node prior to 13. So node 12 does not know what to do with de.
So we're not talking about selected browser languages, but about what browsers fully support Intl (all modern ones), and which nodes fully support Intl (>= 13).
So, we could add this to package.json to indicate that we need node >=13: { "engines" : { "node" : ">=13" } }
Does that make sense? Or did I misunderstand your comments?

For example, try new Intl.DateTimeFormat('ja-JP').format(new Date()) in your console, even assuming that neither your OS nor your browser are set to Japanese, you'll get "2021/4/17".

Huh, I'm confused, why is your comment posted under my name? 😳😀 Did you use Edit rather that Quote?
Anyway, I agree with your suggested options (I guess the initial use of date-fns-timezone wasn't right, but your simplified use of it is correct, nice!).
I do not have a strong preference for either of the two solutions. Whatever is easier for you (also short time).
If you prefer to go for the date-fns-timezone options, we might want to add node 12 back to the workflow config so that there's better consistency between internal and public CI?
Either way though, we may wanna think about node 14 and npm 7 eventually.

Huh, I'm confused, why is your comment posted under my name? 😳😀 Did you use Edit rather that Quote?
Anyway, I agree with your suggested options (I guess the initial use of date-fns-timezone wasn't right, but your simplified use of it is correct, nice!).
I do not have a strong preference for either of the two solutions. Whatever is easier for you (also short time).
If you prefer to go for the date-fns-timezone options, we might want to add node 12 back to the workflow config so that there's better consistency between internal and public CI?
Either way though, we may wanna think about node 14 and npm 7 eventually.

@neonnoon Correct. Sorry, I ll quote from now on. Ok let's do so for now. I am not sure to understand your sentence

we might want to add node 12 back to the workflow config so that there's better consistency between internal and public CI?
You'd like to add that config to the package.json ? I can do it in the present PR if you'd like to ?

{ "engines" : { "node" : ">=12 <13.0.0"} }

The engines part I would only add if there is a strict requirement why only certain versions are supported. This is the case if we require node >= 14 for full ICU support.
What I meant to refer to was this change:
https://github.com/open-ch/pyrene/pull/6/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2L14
If you keep using node 12 for your internal CI environment, it probably makes sense to revert the version used by github actions.

@neonnoon Thank you very much for sharing your expertise as well as your time. It was indeed super helpful. If you agree we I will now submit the change we came up within the present PR to the team. Then if the team agrees we can merge this PR today. Would be nice if you could also accept or reject the PR. Thanks again.

Thank you so much @neonnoon @Sakai-san for the thorough discussions! I learned a lot from you :) 🤩  🙏
I agree that for now it might be better to go with solution 2 because of the different node environments in the projects:

Use date-fns-timezone
you might want to downgrade github action's node-version to 12 as well

But since we're abandoning internal CI - it's already announced internally that further new PRs should all be targeting at Github directly, and like @neonnoon mentioned, in general it's nice to think about node 14 and npm 7, could we keep the current node-version in Github action?
So possible action items could be:

merge this PR
do a incremental release directly in Github without involving local repo (especially the tagged commit locally)
formulate a plan for node 14 / npm 7 (have added as item to discuss for next sync meeting 😉 )


[DOC] Guide 'structure-widgets.md' lacking info for passing config variables

The docs guide on "structure-widgets" is aimed to teach us how to create a widget. It is missing one big thing though. Many widgets need default config options. While the example shows that we can pass them when using the widget in a view, it doesn't tell the end user how to pass default params in their config file.
A prime example of when/why this is necessary, is the yii2-recaptcha-widget. We don't want to include our site key and secret every single time we use the widget.
I know how to do it :) I just think the docs should show people how.
Link:
https://github.com/yiisoft/yii2/blob/master/docs/guide/structure-widgets.md

It's currently described at https://github.com/yiisoft/yii2/blob/master/docs/guide/concept-di-container.md#practical-usage-.

I think it should at least be referenced on the page I mentioned. If I was to try and find out how to make my own widget, that is the page I would have checked out for more info, and been let down.
Sent from my iPhone

On Oct 3, 2015, at 10:48 AM, Alexander Makarov<EMAIL_ADDRESS>wrote:
It's currently described at https://github.com/yiisoft/yii2/blob/master/docs/guide/concept-di-container.md#practical-usage-.
—
Reply to this email directly or view it on GitHub.

I've added a note.

That wasn't what I was talking about. I haven't seen that implementation... common would be adding to your config main.php under components array..

Umm... that's doesn't look like a common widget config. It should be in this particular widget docs.

Go look at yii2 recaptcha widget. You set your google API credentials in you main.php and use the widget in your view, without having to redeclare them again.
Sent from my iPhone

On Oct 4, 2015, at 6:32 AM, Alexander Makarov<EMAIL_ADDRESS>wrote:
Umm... that's doesn't look like a common widget config. It should be in this particular widget docs.
—
Reply to this email directly or view it on GitHub.

Example widget, based on the example on the page I linked to in the docs in my first post.'. This is exactly the same, only it takes the doc 1 step further.
In your configuration components array, add your widget and params. class maps to your class file, and message is a public param that we are configuring globally.
'components' => [
    'helloWidget' => [
            'class' => 'common\widgets\HelloWidget',
            'message' => 'My Config Message',
        ],
],

app/components/HelloWidget.php
<?php
namespace app\components;

use yii\base\Widget;
use yii\helpers\Html;
use Yii;

class HelloWidget extends Widget
{
    public $message;

    public function init()
    {
        parent::init();
        if ($this->message === null) {
            $this->message = Yii::$app->helloWidget->message;
        }
    }

    public function run()
    {
        return Html::encode($this->message);
    }
}

views/site/index.php
use app\components\HelloWidget;
?>

<?= HelloWidget::widget() ?>

It passes message from the config to the widget.
I understand that in "other" places in the docs, it talks about configurations. However, this page is talking about creating a widget. This is the "Creating Widgets 101" page... It should also provide a simple example on how to set default configuration (ie: in main.php) to use throughout your app. Then a note with a link, to more information on configurations.
Leaving things like this out, is a common issue throughout the docs. It talks about something, but doesn't provide all the details for it, and doesn't provide a resource link to accomplish it. Causing the user to have to jump through hoops, and frustration with the docs.
Point being. If I was just getting started with Yii2, and I wanted to create my own widget, this page is where I would end up.
What I am illustrating here is extremely common. The yii2 recaptcha widget is a prime example. Other possibly applications, a Google Maps widget. I wouldn't want to place my Google API credentials in a million places, so setting it in my config main.php. Another example, Social Media share buttons widget. Set your credentials in your main.php components array, and your widget uses them globally.
The DI Container is a way to do this programmatically. The way I am talking about, is via placing the information (params) into your config directly. 99% of every extension I have used, I have had to add config details into my main.php.

Please look at: #9833
Even if you don't accept it, it explains what I am talking about.

This is not common to design a widget like that.


PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

As explained in Our Error Handling, Ourselves - time to fully understand and properly document PowerShell's error handling, the -ErrorAction common parameter acts only on non-terminating errors.
You're triggering a (script)-terminating error, so -ErrorAction doesn't apply.
As explained in the linked post, confusingly, $ErrorActionPreference = 'SilentlyContinue' - i.e., use of the preference variable rather than the parameter - does apply, so the following is effective in silencing the error.
function invoke-throw
{
        throw "hello"
}

try
{
    $ErrorActionPreference = 'SilentlyContinue'
    invoke-throw
}
finally
{
        "world"
}

As explained in Our Error Handling, Ourselves - time to fully understand and properly document PowerShell's error handling, the -ErrorAction common parameter acts only on non-terminating errors.
You're triggering a (script)-terminating error (with Throw), so -ErrorAction doesn't apply.
Because there is no Catch block, the error surfaces.
As explained in the linked post, confusingly, $ErrorActionPreference = 'SilentlyContinue' - i.e., use of the preference variable rather than the parameter - does apply, so the following is effective in silencing the error.
function invoke-throw
{
        throw "hello"
}

try
{
    $ErrorActionPreference = 'SilentlyContinue'
    invoke-throw
}
finally
{
        "world"
}

Note: If you added a Catch block, then that block by itself would silence the error message by default, irrespective of whether you used -ErrorAction SilentlyContinue or $ErrorActionPreference = 'SilentlyContinue'

@mklement0 ugh, you're right!  my workaround has been to use a catch and ignore block


Web api - conventional routing instead of attribute routing

At the moment the Web Api project template contains a ValuesController which uses the following attribute for routing - [Route("api/[controller]")]. For prototyping purposes, I was trying to get rid of this attribute route and replace it with a MapRoute call in Startup.cs without much luck. The following code does match the first "Get" action, but not the others.
routes.MapRoute(
    name: "default",
    template: "api/{controller}/{action}",
    defaults: new { action = "Get" });

Any help would be highly appreciated. Thanks!

Closing this issue here as it has been answered in the "routing" repo.

@lszomoru Hi, I am also interested in this issue, could you share me how to achieve center routing in asp.net core web api? I want to make below code work in asp.net core.
routes.MapRoute(     name: "default",     template: "api/{controller}/{action}",     defaults: new { action = "Get" });


can't get kanban to work in remnote

I have followed the instructions:

highlight items I want in the kanban boad
type / and then kanban
select the kanban plugin

nothing happens.
Using windows desktop remnote app

ooops
I just tried something else - it works lol
So you don't highlight what you want in the board - you just put your cursor on the rem that will be the kanband - can be a parent rem- and it will auto generate the board.  NICE.  case closed.

Thank you for confirming! I hope you enjoy it :)


Frontend/submitbutton

Description
This branch is created to solve the OnClick event on the submit button.
Fixes #
Onclick event on submit button
How to test?
You can choose a function on onclick event in your code and run : npm run dev , it will allow onclick now.
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have merged the latest version of the source branch (typically develop) into this branch before pushing my changes
[x] This PR is ready to be merged and not breaking any other functionality

Looks good


Add remote lockable doors for Dropships (Draft because it keeps crashing and I would like some help with that)

About the PR

Add new component, LockableDropshipDoorComponent, which has a field for a localized name.
All doors with the same localized name are bolted and unbolted together from the navigation computer.
Added YMLs for the new doors of current Dropships
Media

I was unable to test this component as the YMLs for the dropships are private. Also the game kept crashing when I tried to even search up the navigation computer console

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

https://docs.spacestation14.com/en/robust-toolbox/netcode/net-entities.html


fix: update to eye v11.2.3

fix: update to eye v11.2.3

:tada: This PR is included in version 18.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v18.1.1

Your semantic-release bot :package::rocket:


How can I use App Check in the context of an App extension?

Description
I need to invoke a cloud function with AppCheck enforced within the App extension - I did register both the app host and extension in AppCheck and they are both under one Project on Firebase . The cloud function works well when invoked from the app host but not when invoked within the app extension (Got the unauthenticated error). I read somewhere that the app extension doesn't support App Check ? if it the case how can I still proceed with invoking the cloud function from the app extension. Also is it necessary to call configure FirebaseApp for both ?
Reproducing the issue
Within App Delegate of my App Host
let providerFactory = DeviceCheckProviderFactory()
 AppCheck.setAppCheckProviderFactory(providerFactory)
 FirebaseApp.configure()

Within the View Conroller of my app extension
   let providerFactory = DeviceCheckProviderFactory()
        AppCheck.setAppCheckProviderFactory(providerFactory)

        if FirebaseApp.app() == nil {
                   let filePath = Bundle(for: type(of: self)).path(forResource: "GoogleService-Info-AppExtension", ofType: "plist")
                   guard let fileopts = FirebaseOptions(contentsOfFile: filePath!)
                       else { assert(false, "Couldn't load config file") }
                   FirebaseApp.configure(options: fileopts)
               }

Firebase SDK Version
10.17
Xcode Version
15
Installation Method
Swift Package Manager
Firebase Product(s)
App Check, Functions
Targeted Platforms
iOS, App Extensions
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @anonys, the documentation you mentioned might be Apple's docs on App Attest:

Most app extensions don’t support App Attest. Generally, when executing code in these extensions, bypass key generation and attestation, even if the isSupported method property is true. The only app extensions that support App Attest are watchOS extensions in watchOS 9 or later.

Unfortunately, the documentation on DeviceCheck doesn't mention whether it supports any App Extensions or not. You could try calling isSupported in your extension to try it:
import DeviceCheck
...
let deviceCheckSupported: Bool = DCDevice.current.isSupported

Firebase App Check itself should work in an extension but I suspect that the underlying attestation providers, DeviceCheck and App Attest, do not. A custom provider or calling your backend via your host app (rather than in the extension itself) could be options, though this wouldn't be straightforward to implement.

Thanks for your reply @andrewheard! yes unfortunately it is not supported, will look for an alternative in this case.

Thanks for your reply @andrewheard! yes unfortunately it is not supported, will look for an alternative in this case.

No problem, @anonys! Sorry I couldn't be more help. I'll mark this as closed but feel free to re-open if you have more questions.


Improve the error message and make uninstall work when Docker is not running

Docker was not running on my machine and I went to uninstall Dapr and got this confusing error message.
C:\MVP\daprapp>dapr uninstall
Removing Dapr from your cluster...
WARNING: could not delete run data file
Error removing Dapr: could not delete (dapr_placement,daprio/dapr)
Either

Provide a hint that Docker should be enabled to uninstall Dapr (like the init command below) or
Can you remove Dapr's containers when docker is not running (probably not)

C:\MVP\daprapp>dapr init
Making the jump to hyperspace...
WARNING: could not delete run data file
could not connect to Docker. Docker may not be installed or running

Alternative 1 can be added to the error message.
Alternative 2 (I assume you mean not to try to delete containers) should remain as is. The user might not be aware that docker is not running and the uninstallation would give the impression of success if we skip the container removal. Giving a clear error message (alternative 1) seems to be a better message to customers.

@msfussell @artursouza  This seems to be related to https://github.com/dapr/cli/issues/330. As I've worked on the issue, I've raised another PR for this. Could you please review? 🙂

Thanks for your contribution @ksashikumar :)


Add support for Placement Groups, fixes #219

In addition, the keys of the instances.json are now sorted
alphabetically to easier figure out the difference when changing
the data structure format.
This is based on the data from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html, I noticed that for some instance types it contradicts the information on https://aws.amazon.com/ec2/instance-types/
Someone at AWS should check this discrepancy and update the documentation according to the truth.

@powdahound any comments on this one?

Looked good - was just busy. :) Hopefully they can sort out the doc discrepancy.
Also, in future PRs it's easiest if you don't include the rebuilt .html and .json files. The PRs are less likely to conflict with other changes that way.
Thanks!

Thanks, I'll keep that in mind.


go-whisper golang bindings

Create bindings for https://github.com/ggerganov/whisper.cpp

[x] Simple golang bindings with tests
[x] Some examples (main, sample) based off of these
[ ] Integrate with ffmpeg for audio conversion
[ ] Some sort of real-time translation
[ ] gRPC and/or websocket API
[ ] Docker image of a speech-to-tech service

Made PR:
https://github.com/ggerganov/whisper.cpp/issues/269

Great work!
Keen on realtime translation and a way of calling out/streaming the output to another app - gRPC seems the best option for this

Yeah thanks.
I'm doing the audio downsampling to 16KHz at the moment in a different repository (go-media)
The realtime transcription and translation should be pretty straightforward, but pretty experimental, even for whisper.cpp
I will take a while to get to the gPRC microservice :-(

Added a "stream" command for the start of real-time streaming, but:

Thread safety: Needs some work to ensure the same model can be used in the process method across threads/goroutines
Ring buffer: Implement a ring buffer for continious audio samples
Overlaps: Need some word overlaps to ensure we don't lose words between sample windows
Silence: Don't process audio when silence is fed in. Ideally chunk windows when there is a largish (>1s) silence

There's also some issues with the segmenting in the main package (repeated segments come out!) needs fixing.

Coming back to this after some time!
Remaining tasks:

[ ] Streaming output of segments from the server
[ ] Streaming input of audio from the client and an example of this working
[ ] Add iniital token prompts for segments
[ ] Have ffmpeg logging go through the whisper logging (single source for all log messages)
[ ] Not sure MaxConcurrent tasks is really working - need to check
[ ] Fix Dockerfiles so they work
[ ] Add Diarization
[ ] SRT/VTT and text output as well as JSON
[ ] Add tokens into the verbose_json format

Lower priority:

[ ] Integrate VAD voice detection (probably from https://github.com/baabaaox/go-webrtcvad which seems to work) on segments
[ ] Smarter segmentation so that it only happens on silence boundaries, not in the middle of words
[ ] Fix model id's so they are unique and that models can be stored at some sub-path
[ ] Integrate the bindings back into whisper.cpp repository

Also:

[ ] Fix client so that it works with text/event-stream for both downloading models and transcription

Also:

[ ] Fix resampling of raw audio in the go-media code, so we can again ingest WAV files without "input changed" errors

Simplified Dockerfile and now uses the base images from here as a base:
https://github.com/mutablelogic/docker-llamacpp
This is still now working; Now I need to have the ffmpeg shared libraries included in the runtime image. Considering whether to just copy over the libraries from the build image, or to install ffmpeg libraries from source.

Hey @djthorpe,
Thank you for your excellent work on https://github.com/ggerganov/whisper.cpp/issues/269. However, it seems the binding you developed isn't compatible with the latest version of whisper.cpp.
Do you have plans to update it soon, or is there an updated version available somewhere?

Hi @paradoxe35 how are you?
Actually this repository contains updated bindings and I would like to merge them into whisper.cpp at some point...You can find them under
github.com/mutablelogic/go-whisper/sys/whisper but I didn't test them recently. Let me know if that' useful to you?

Thank you, @djthorpe, for your feedback. Unfortunately, I couldn't run github.com/mutablelogic/go-whisper/sys/whisper. To simplify things, I've decided to use the previous version of whisper.cpp that is compatible with the existing binding.


MFALambdaInputs error on 'amplify publish'

Keep getting this error.... Any thoughts?
CREATE_FAILED authamplifyIdentityBrokerAuth AWS::CloudFormation::Stack Thu Oct 07 2021 17:29:24 GMT+0200 (Midden-Europese zomertijd) Embedded stack arn:aws:cloudformation:eu-west-1:562039074112:stack/amplify-amplify-identity-broker-recronid-170044-authamplifyIdentityBrokerAuth-15OXJBUATXJ4N/fb3ec770-2782-11ec-a7ba-0ae128d1db7d was not successfully created: The following resource(s) failed to create: [MFALambdaInputs].
⠼ Updating resources in the cloud. This may take a few minutes...
CREATE_FAILED amplify-amplify-identity-broker-recronid-170044-authamplifyIdentityBrokerAuth-15OXJBUATXJ4N AWS::CloudFormation::Stack Thu Oct 07 2021 17:29:20 GMT+0200 (Midden-Europese zomertijd) The following resource(s) failed to create: [MFALambdaInputs].
⠇ Updating resources in the cloud. This may take a few minutes...

Found this solution recently while trying to make it's working:
https://issueexplorer.com/issue/aws-amplify/amplify-cli/8363
So the solution is only update MFALambdaRole declaration in this file: amplify/backend/auth/{APP_NAME}/{APP_NAME}-cloudformation-template.yml
So new added
Policies:
- PolicyName: {resourceNameTruncated}_totp_pass_role_policy
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- "iam:PassRole"
Resource:
!If [
ShouldNotCreateEnvResources,
"arn:aws:iam:::role/{resourceNameTruncated}_totp_lambda_role",
!Join [
"",
[
"arn:aws:iam:::role/{resourceNameTruncated}_totp_lambda_role",
"-",
!Ref env,
],
],
]
_- PolicyName: {resourceNameTruncated}sns_pass_role_policy
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- "iam:PassRole"
Resource: !GetAtt SNSRole.Arn
There are other issues after this one:

hosting bucket has to be updated to be unique:
\aws-amplify-identity-broker\amplify\backend\hosting\S3AndCloudFront\parameters.json
{
"bucketName": "broker-{unique part}-hostingbucket"
}

KMSMasterKeyID key should be set up to make build content published.
"Resources": {
"S3Bucket": {
"Type": "AWS::S3::Bucket",
"DeletionPolicy": "Retain",
"Properties": {
"BucketEncryption": {
"ServerSideEncryptionConfiguration": [
{
"ServerSideEncryptionByDefault": {
"SSEAlgorithm": "aws:kms",
"KMSMasterKeyID": "arn:aws:kms:us-east-1:xxxxxxxxxxxxxx:key/{guid value}"
}
}
]
},
It works when one active from Customer managed keys is used from this UI
https://console.aws.amazon.com/kms/home?region=us-east-X#/kms/keys

By the way, the project is builtt and looks published well:
npm results with:

All resources are updated in the cloud
REST API endpoint: https://zzzzzzzzzzzzzz.execute-api.us-east-1.amazonaws.com/dev
Hosting endpoint: https://yyyyyyyyyy.cloudfront.net
Hosted UI Endpoint: https://amplifyidbrokerXXX-dev.auth.us-east-1.amazoncognito.com/
Test Your Hosted UI Endpoint: https://amplifyidbrokerXXX-dev.auth.us-east-1.amazoncognito.com/login?response_type=code&client_id=XXXXXXXXXXXXXXXXX&redirect_uri=https://injection.placeholder.amazon.com/

Publish started for S3AndCloudFront
Uploaded files successfully.
Your app is published successfully.
https://yyyyyyyyyy.cloudfront.net
this endpoint (https://yyyyyyyyyy.cloudfront.net) generates this content (it just says the KMS key is incorrect?):

KMS.UnrecognizedClientException
No account found for the given parameters
RKAZSQ3V1DKY9WFV
LJaxq42Lhzrd5XRCWVs4vSmsU3l8i4IMWEGOo821s0G7+/v2o=

But it doesn't work as expected. I.e. only default Cognito hosted UI is displayed by this URL: https://amplifyidbrokerXXX-dev.auth.us-east-1.amazoncognito.com/login?response_type=code&client_id=XXXXXXXXXXXXXXXXX&redirect_uri=https://injection.placeholder.amazon.com/
AWS Amplify app doesn't look configured too (https://console.aws.amazon.com/amplify/home?region=us-east-X#/):
I.e. there are no "Rewrites and redirects" menu item available, so it is not possible to continue with "Deploying with the AWS Amplify console" doc part (https://github.com/awslabs/aws-amplify-identity-broker/blob/master/Documentation/UserDocumentation.md#deploying-with-the-aws-amplify-console)
So, I feel like doing something wrong too.
Please let me know about things we are missing...
Having a fully customized Cognito Hosted UI with SSO support looks like a very powerful thing to use.

Thanks for the replies.
I did not get any further. Seems like this is just too good to be true :)

I had these issues too. And I'm reaching the same point.
<Error>
  KMS.UnrecognizedClientException
  <Message>No account found for the given parameters</Message>
  <RequestId>DPE83873N7JJM0JH</RequestId>.
  <HostId>OXRwoZYKbsfBlElUHvn4dEnN9TAfidsNQ9CFDA5CvIB82tiagAw1iqPrX9wJBBrDyAU596yHUT4=</HostId>
</Error>

I am therefore unable to deploy this so useful project.
However, everything seems to be configured as expected in the amplify directory.

We published the fix for this.
Please let us know if you're still stuck.


[Question] Possible Paths other than shortest path from start to end lanelets

Hi ,
I am asking if there is a way in routing graph to get alternative paths other than the shortest path from start to end lanelets.
The motivation behind the question, the shortest path outcome is for sure working pretty fine in general.
However, for some particular cases I need to handle, the vehicle should not go through specific lanelets (for technical or business reasons) and these lanelets are part of the shortest path.
That is why I am asking if there is a way to get other possible paths from start to end (or at least one other possible path).
Thanks :)

I would like to add another piece to my question.
As long as the shortestPath() is using Dijkestra (not A*) algorithm, there is no way to pre-define higher costs for specific lanelets than others so that influences the shortest path (using heurisitc / h-cost). Is my understanding correct ?
I would be grateful for your amazing support :)

For the first point Tagging Lanelets, actually I am using this tagging already to let the vehicle stop by this no_drivable_lane and prevent autonomous driving in it

I rather meant that you use the official tags, as in this example. Lanelets that are not drivable for a given participant will not be considered as part of the routing graph.

Does this mean RoutingCost is something that I can assign for a lanelet ? or is it a property for the whole graph ?

When you create a routing graph, you pass a vector of RoutingCost objects:
https://github.com/fzi-forschungszentrum-informatik/Lanelet2/blob/a184258a3ef020648a375c5c6bac083673ecdb74/lanelet2_routing/include/lanelet2_routing/RoutingGraph.h#L81-L83
If you don't pass anything, distance and travel time are used. The index in the vector when you initialize the graph will be the routingCostId for all subsequent queries on the resulting graph. This means you can easily define your own routing cost objects by inheriting from the abstract RoutingCost base class and implement whatever you like. And then for your queries toggle between the different cost calculations using the routingCostId.


Added Relative Layout in Kotlin

Description 📜
Here in this doc I have added the docs related to the topic "Relative Layout in Kotlin". With this I also have given the user an option to copy the code directly from the docs if required.😁
Fixes #2412

Type of change 📝

[x] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Android Dev #(Kotlin)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Lgtm
@rahulsain I guess we can merge this.


Karya python client

Creating a new repo for the python client - https://github.com/Saumya-Bhatt/karya-python-client


Ammonite Repl 0.7.0 release not available on repos

First off, great project.
This may just be a typical delay in getting the packages on the repos, but I just tried to update to the latest version 0.7.0 and found that the packages are not available on the usual repos.

fwiw, it got renamed from ammonite-repl to ammonite
http://search.maven.org/#artifactdetails|com.lihaoyi|ammonite_2.11.7|0.7.0|jar

That was it. Sorry for the oversight on my part. Thanks.


gocd-server and gocd-agent hard-code jre in script (and it's not a compatible version)

Describe the bug
In NixOS 21.05 (and probably unstable too), the version of jre is not supported by the gocd-server and gocd-agent versions, and there's no way for the user to choose a different one.
Steps To Reproduce
Steps to reproduce the behavior:

Enable gocd-server in your configuration: services.gocd-server.enable = true;
Run nixos-rebuild switch
Run systemctl status gocd-server. The output is:

● gocd-server.service - GoCD Server
     Loaded: loaded (/nix/store/cjx4fsk53vgn69zxjqsq71rk41f9lla3-unit-gocd-server.service/gocd-server.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-09-02 21:13:09 BST; 1h 5min ago
    Process: 1040 ExecStart=/nix/store/nqb0ixadyh0wvvx7svx8ql2m5zrlr2s3-unit-script-gocd-server-start/bin/gocd-server-start (code=exited, status=1/FAILURE)
   Main PID: 1040 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 2.261s

Sep 02 21:13:06 systemd[1]: Started GoCD Server.
Sep 02 21:13:08 gocd-server-start[1051]: [Thu Sep 02 21:13:07 BST 2021] Starting process:
Sep 02 21:13:08 gocd-server-start[1051]: [Thu Sep 02 21:13:08 BST 2021]   Working directory    : /var/lib/go-server
Sep 02 21:13:08 gocd-server-start[1051]: [Thu Sep 02 21:13:08 BST 2021]   Application arguments: []
Sep 02 21:13:08 gocd-server-start[1051]: [Thu Sep 02 21:13:08 BST 2021]            GoCD Version: 19.3.0-8959
Sep 02 21:13:09 gocd-server-start[1051]: Running GoCD requires Java version >= VERSION_1_8 and <= 12. You are currently running with Java version 13. GoCD will now exit!
Sep 02 21:13:09 systemd[1]: gocd-server.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 21:13:09 systemd[1]: gocd-server.service: Failed with result 'exit-code'.
Sep 02 21:13:09 systemd[1]: gocd-server.service: Consumed 2.261s CPU time, no IP traffic.

See that there's an option, services.gocd-server.packages, whose default value includes pkgs.jre. Try overriding it to use an older version of java:

    gocd-server.packages = with pkgs; lib.mkDefault [
      stdenv jre8 git config.programs.ssh.package nix
    ];

nixos-rebuild switch
gocd-server ins't automatically restarted. No change to the version error, even after manually restarting.

Turns out the script used to launch the service from nixos/modules/services/continuous-integration/gocd-server/default.nix always uses pkgs.jre:
      script = ''
        ${pkgs.git}/bin/git config --global --add http.sslCAinfo /etc/ssl/certs/ca-certificates.crt
        ${pkgs.jre}/bin/java -server ${concatStringsSep " " cfg.startupOptions} \
                               ${concatStringsSep " " cfg.extraOptions}  \
                              -jar ${pkgs.gocd-server}/go-server/go.jar
      '';

Expected behavior
The version of java used in the script should be something that works, and/or there should be an option for the user to choose the java package (I've seen some other nixos modules which do this, given the wide variety of different java package versions, vendors and licenses).
I don't know if there are any potential issues with having different versions of java used in the script and the path.
Notify maintainers
@swarren83
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"aarch64-linux"`
 - host os: `Linux 5.12.7, NixOS, 21.05.20210821.a188b85 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210802_47e96bb`
 - nixpkgs: `/home/thrall/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: gocd-server gocd-agent

https://github.com/NixOS/nixpkgs/pull/133901 should fix this issue


version 4.0.0 of the aws provider contains breaking changes for the CDN module

Describe the Bug
Version 4.0.0 of the aws terraform provider introduced breaking changes for s3 bucket configurations which are used within this module, please refer to the upgrade notes here: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-3-upgrade
Expected Behavior
lifecycle rules, acls, origin configuration etc are applied or updated.
Steps to Reproduce
Steps to reproduce the behavior:
Simply attempt to call the module with version 4.0.0 of the aws provider.
Errors:

Errors from our terraform GitOps repo
  Error: Unsupported attribute

  on .terraform/modules/portal_cdn.logs/main.tf line 30, in resource "aws_s3_bucket" "default":
  30:         for_each = var.enable_glacier_transition ? [1] : []

This object does not have an attribute named "enable_glacier_transition".

Error: Unsupported attribute

  on .terraform/modules/portal_cdn.logs/main.tf line 44, in resource "aws_s3_bucket" "default":
  44:         for_each = var.enable_glacier_transition ? [1] : []

This object does not have an attribute named "enable_glacier_transition".

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 232, in resource "aws_s3_bucket" "origin":
 232: resource "aws_s3_bucket" "origin" {

Can't configure a value for "logging": its value will be decided
automatically based on the result of applying this configuration.

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 232, in resource "aws_s3_bucket" "origin":
 232: resource "aws_s3_bucket" "origin" {

Can't configure a value for "server_side_encryption_configuration": its value
will be decided automatically based on the result of applying this
configuration.

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 232, in resource "aws_s3_bucket" "origin":
 232: resource "aws_s3_bucket" "origin" {

Can't configure a value for "cors_rule": its value will be decided
automatically based on the result of applying this configuration.

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 232, in resource "aws_s3_bucket" "origin":
 232: resource "aws_s3_bucket" "origin" {

Can't configure a value for "versioning": its value will be decided
automatically based on the result of applying this configuration.

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 232, in resource "aws_s3_bucket" "origin":
 232: resource "aws_s3_bucket" "origin" {

Can't configure a value for "website": its value will be decided
automatically based on the result of applying this configuration.

Error: Value for unconfigurable attribute

  with module.portal_cdn.aws_s3_bucket.origin,
  on .terraform/modules/portal_cdn/main.tf line 241, in resource "aws_s3_bucket" "origin":
 241:   acl           = "private"

Can't configure a value for "acl": its value will be decided automatically
based on the result of applying this configuration.

</details>

## Additional Context
Add any other context about the problem here.

We are having the same issue when trying to upgrade

Version 0.82.3 adds a provider restriction and the module work ok (https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/releases/tag/0.82.3).

Yes, the breaking changes in AWS provider v4.0.0 did, in fact, break this module and many others. You should pin your providers in your top-level components, using either version blocks (usually in versions.tf) or via .terraform.lock.hcl files.
This module will be updated to support v4 eventually, but most likely will have its own breaking changes and will surely require manual migration steps when it is released. See, for an example of our thinking about how to upgrades modules like this one, how we upgraded terraform-aws-s3-bucket and terraform-aws-s3-log-storage.

Hey guys,
Any updates on this? This is the one module blocking us from upgrading to >v4 AWS provider

I am on the same boat, upgrading to 0.82.x of this module puts a < 4.0.0 restriction on the AWS provider which is breaking my s3 configuration, because aws_s3_bucket_object was replaced by aws_s3_object.

I've got a fairly untested migration to aws provider > 4.0.0 in a branch on a fork over here https://github.com/EIGTech/terraform-aws-cloudfront-s3-cdn/tree/4.0.0-aws-provider
I am no terraform expert, and the update definitely shows. A couple of changes required decisions to be made that broke the public API of the module, and I am fairly certain that things could be cleaned up quite a bit. If anyone wants to use this to take a swing at a PR that would be accepted, feel free.

The latest AWS 4.release does not contain the breaking changes. Could we have an update to this module that works with AWS 4.19, please?

Yes, came here to say this. I am getting version errors when using this module https://github.com/cloudposse/terraform-aws-s3-bucket v2.0.3
│ Error: Failed to query available provider packages │  │ Could not retrieve the list of available versions for provider │ hashicorp/aws: no available releases match the given constraints >= 2.0.0, │ >= 3.0.0, >= 3.64.0, < 4.0.0, >= 4.9.0

same here

Yes, came here to say this. I am getting version errors when using this module with the s3 module https://github.com/cloudposse/terraform-aws-s3-bucket v2.0.3
│ Error: Failed to query available provider packages │ │ Could not retrieve the list of available versions for provider │ hashicorp/aws: no available releases match the given constraints >= 2.0.0, │ >= 3.0.0, >= 3.64.0, < 4.0.0, >= 4.9.0

Same issue, can't use it with the most recent S3 module


Method #warden_cookies doesn't set cookies in the response

The warden_cookies method stores the arguments passed to it in a hash, but doesn't set them in the response.

Hi there, do we have news on this topic?
I asked Daniel if he intends to keep that #warden_cookies method, since I could not find any tests for it and it obviously does not work. Are there any tests? Am I missing something here?
Unfortunately Daniel did not answer yet...


Manuscript edit

Check that horizontal vs vertical integration actually means what we say in the manuscript
Perhaps add a diagram to make it clear in the manuscript

The words in the manuscript seems fine and it meant what it's supposed to say, don't need an additional diagram.


[cluster object model] Change paictl machine‘s code, based on com.

Coverage remained the same at 51.762% when pulling 020471f5a0af7480e4b00668146825913ef9efd2 on yuye/machine-modify-com into c6d9672abc2ea46e5410c52273080e9aa1073f6d on cluster-object-model-dev.

Coverage remained the same at 51.762% when pulling 020471f5a0af7480e4b00668146825913ef9efd2 on yuye/machine-modify-com into c6d9672abc2ea46e5410c52273080e9aa1073f6d on cluster-object-model-dev.

Coverage remained the same at 51.762% when pulling 020471f5a0af7480e4b00668146825913ef9efd2 on yuye/machine-modify-com into c6d9672abc2ea46e5410c52273080e9aa1073f6d on cluster-object-model-dev.


Removing min cardinality of zero restriction on ProductUnit. Fixes #582.

Added scopeNote to use SHACL if needed.
Also updated release notes.

Updated scope note and release notes.


In game werewolf,  when wolves reach an agreement, then start a vote.

Location: examples/game_werewolf/werewolf.py:
x = sequentialpipeline(wolves)
if x.get("agreement", False):
       break

I just wonder why start vote when wolves don't reach an agreement. but when reach an agreement, wolves need to discuss again?

x.get("agreement", False) means that if x["agreement"] is true, then it will jump out of the for loop. False is a default value of x["agreement"] that prevents the model from returning true correctly due to capacity reasons.

why start vote when wolves don't reach an agreement:
Maybe the maximum number of discussion rounds is reached (MAX_WEREWOLF_DISCUSSION_ROUND). You can try to set a larger number of rounds.

but when reach an agreement, wolves need to discuss again:
In our implementation, once werewolf replies with agreement as True, the werewolves will go on voting rather than discussion. Please check the value of the agreement field in line 44 in your figure.

Maybe LLM replies "True" rather than "true", where "True" cannot be loaded by json.loads() as a bool value.

If you have any further questions or concerns, please feel free to create a new issue. Closing this for now.


Backbone retinanet

@yzuo89  in the config file you have mentioned that backbone is "R-50-FPN-RETINANET" does that mean it includes retinanet for what purpose

Please see the links in the related resources section for the best places to follow up on this question.
The config is fed to Detectron2, so their documentation might be the best placed to dig into what's inferred by the backbone assignment.