Methyl-benzoate bonding

In the parameter file for methyl-benzoate,
; id   type    resnr   residu  atom    cgnr    charge
1    N4a      1      MBZOA   O1      1        0
2   TC5       1      MBZOA   R2      2        0
3   TC5       1      MBZOA   R3      3        0
4   TC5       1      MBZOA   R4      4        0
[bonds]
; i j   funct   length  force.c.
1 2     1      0.389   5000 ; cog
1 3     1      0.389   5000 ; cog
Why is there a bond between N4a and two different TC5 atoms?
Wouldn't the structure then look like
       N4a
       /.      \
  TC5  -  TC5
       \.         /
          TC5

Instead of
     N4a
       |
  TC5  -  TC5
       \.         /
          TC5

Hi and thanks for the question. Yep, the structure looks like your top one. I've put some more sketches to clarify further: https://github.com/ricalessandri/Martini3-mappings/blob/main/methyl-benzoate.pdf
This is because the -COOMe group is fairly rigid and this construction is very numerically stable (see, e.g., minute 11:16 of this talk.)
Feel free to follow up, I'd be happy to clarify the choice further.

I'm a little confused about the three TC5 beads. The carbon atom immediately connected to the -COOMe group (call it "alpha carbon"). Why do the TC5 map 2 non-hydrogen atoms like this :(1C_beta + 1/2C_alpha + 1/2 * C_gamma)? Why is it not like a benzene(TC5 bead map the -CH=CH- group)? When I map the molecule to the CG model, what should I deal with the benzene? Should I make the TC5 bead map like methyl-benzoate, or the benzene?

If I understand correctly, you mean that there can be more than one way to map while guaranteeing that TC5 beads will represent two carbon atoms. The mapping method will be chosen based on considerations of symmetry. Am I right in my understanding?

Yes, exactly.


Feature idea: group resources (maybe new field like label?) to fine-grain management permissions

Feature Request
Currently the permissions system for lockable resources is a relatively large sledgehammer: either a user has no access to see/manage/... the resources, or can access all of them.
For larger developer teams managing different resources, as well as for "infra tokens" vs. resources that represent physical resources, or whatever other reason we can think of, it may be useful to offer a way to group resources and dynamically define permissions for such resource-groups that can be assigned to Jenkins user accounts same way as current 3-4 permissions are given.
Technically it might be some other way around, e.g.:

Define a Lockable resource group (in Global config?)
Permissions other than defaults in https://github.com/jenkinsci/lockable-resources-plugin/blob/master/src/main/java/org/jenkins/plugins/lockableresources/actions/LockableResourcesRootAction.java#L36 appear, like "Reserve LR Group X", based on currently defined LR groups in the Jenkins config... can this be read during startup initialization and during config saving?
Permissions can then be assigned to users with whatever strategy supports them
Lockable resources would have a field (drop-down choice?) to place them into a group, or to leave effectively in the default nameless group.

TBD: are un-grouped resources accessible to everyone (with generic permission like "Reserve" vs. "Reserve LR Group X") like they are now, for least-surprise during upgrades? Or something would be more reasonable?
Are "un-grouped rights" (hardcoded ones) to be applied for access to all resources as now (least surprise + easiest path), or only to un-grouped ones?..

This is basically very good idea. But I think proper solution will take little more time that a summer night by opened beer.  Maybe a weekend.  Just kidding. Anyway it might take longer, therefore no guarantee in which time period will be implemented.


No syntax highligting for Webassembly .wat files

Hi,
Vim and Neovim do not format and hightlight .wat Webassebly Text files at this moment. I first submitted this issue on the Neovim repository, but for syntax issues they still refer to Vim. Then I looked at the CONTRIBUTING.md from Vim, I now think this is the correct repository to address this issue.  (see: https://github.com/neovim/neovim/issues/26005 )
Problem
Webassembly text files now use the .wat file extension. The current stable release of Vim does not show syntax highlighting for this file extension. It does show syntax highlighting for the old .wast file extension.
Tested on Neovim stable 0.9.4 and Vim 9.01894.
Workaround:
Copy or link the runtime/syntax/wast.nvim to .runtime/syntax/wat.vim. Or rename the .watfile to the old.wast` extension.
References:
https://webassembly.github.io/spec/core/text/conventions.html
https://webassembly.js.org/docs/contrib-wat-vs-wast.html
Steps to reproduce
Create a Webassembly with .wat extension. Or download it from: https://github.com/eliben/wasm-wat-samples
cd wasm-wat-samples/add
vi add.wat # no syntax highligting
cp add.wat add.wast
vi add.wast  # does syntax highlighting

Expected behavior
Edit a Webassembly file with syntax highlighting that has a .wat extension.
Proposed solution
Use a wat.vim for syntax highlighting and other runtime files. I think this should be addressed in the same way as .phtml and .php files use the same syntax highlighting and other runtime files. Thus by doing all the runtime things in the wat.vim file and make the wast.vim files import the corresponding settings.
Neovim version (nvim -v)
NVIM v0.9.4
Vim (not Nvim) behaves the same?
yes, 9.0.1894
Operating system/version
Debian GNU/Linux trixie/sid x86_64
Terminal name/version
Konsole 23.08.1
$TERM environment variable
xterm-256color
Installation
Flatpak

I sent a patch to Vim. You still need to wait for the patch being imported to Neovim.
Meanwhile, if you want, please set the following config (if you use init.lua, please translate it to Lua).
autocmd BufNewFile,BufReadPost *.wat setlocal filetype=wast

Or install rhysd/vim-wasm as plugin.

Thank you for taking care of this so swiftly.
I think this also implements everything quite neat.
I will try to convert the config line to lua shortly.

Tested and verified via Lazy package manager on Neovim 0.9.4.
Closing issue.

The lua equivalent. Took some figuring out, but at least I learned something.
vim.api.nvim_create_autocmd(
    {
        "BufNewFile",
        "BufRead",
    },
    {
        pattern = "*.wat",
        callback = function()
            local buf = vim.api.nvim_get_current_buf()
            vim.api.nvim_buf_set_option(buf, "filetype", "wast")
        end
    }
)

The patch was merged to both Vim and Neovim.

From next version of Neovim (0,9,5?)
Vim 9.0.2104 or later

wast filetype will be replaced with wat filetype. The wat filetype will be applied to both .wat and .wast files.


Update README with new commands and badges

updated in https://github.com/inttter/mdbadges-cli/commit/59af50967b8dd0180134753368f450f473b01a44


Add 'cache-hit' as output

Add 'cache-hit' to outputs
Fixes #316

Note to maintainers: I'm not sure about the changes in module.exports they came from the formatting task afaik. If you want I can revert these lines.

looking forward to getting this merged :-)

@dmitry-shibanov I usually dont like that to ping people, but is this something you can review? 🙂

Would love this feature! 😄  Really looking forward to it.
I was just following this blog https://avraam.dev/posts/reducing-github-action-time and was going to use that feature with this action - but I see it is not supported.

@therynamo if node_modules exists then when you run yarn install or npm install it should complete very quickly, perhaps not as fast as skipping the step altogether, just that the caching is what saves the real time here, not being able to skip the step that runs your install command

Could you please review these simple changes @MaksimZhukov?

Hello everyone. Sorry for the late reply.
@WtfJoke, Could you please run the npm ci && npm run build command with npm 6.x.

@WtfJoke, Could you please run the npm ci && npm run build command with npm 6.x.

That was it thanks! I rebased and force pushed the changes :) Feel free to review it now @dmitry-shibanov

Hello @WtfJoke! Thank you for the contribution and sorry for the inconvenience!
We will release a new action version early next week.

No worries :) Thanks for merging.
Glad I could contribute something


Fix function comments based on best practices from Effective Go

Fix function comments following Effective Go Guidelines

Thank you very much  @AngusReid


⚠ Bofrost.fr has degraded performance

In f3f302e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1328 ms

Resolved: Bofrost.fr performance has improved in 28e977a after 13 minutes.


Display data on the site

Hi
I was wondering if there is a way to display a site's analytics on the site itself, rather than having to go to Offen and sign in, etc.
The easiest way to explain it is showing the site's data on the WP-Admin dashboard (but I am not using WordPress).
In essence, I'd set up an account in my install of Offen (this can be for my own sites, or my clients' sites) and then that data can be seen on the website.
This isn't the user's data.

No, that's not supported and I'd also think it's not something we want to do. Usage data should be handled confidential even if it's "just" aggregated statistics, so having it behind a login always seems reasonable to me right now.

So how can a site owner see their analytical data for their site?

The feature that is supposed to used here is sharing a single account from within the Auditorium:

This will send out instructions on how to create a login to the email you supply, allowing access to that account only (unless you have already granted access to other accounts before).


npm module needs tidying for use

Haven't surveyed them all, but for this module : https://www.npmjs.com/package/@spruceid/didkit-wasm
It needs

a license - without this it's not safe to install and use
a homepage + repo reference
a readme which tells you how to use it

I don't need to know how to build it as the first thing I read, I want to know what API this thing has
you could link to your other docs over at https://spruceid.dev/docs/didkit/

The module and its package.json are generated using wasm-pack.
To set the relevant fields (license, repository, etc), looks like would need to be done manually or by a script running after wasm-pack. Related issues: https://github.com/rustwasm/wasm-pack/issues/949 https://github.com/rustwasm/wasm-pack/issues/836


DefinitionStatus slot not supported

The template koortsDoorInfectieMet_1605716520.xml contains a slot for definitionstatus, where the author can choose whether the postcoordination expresses the intended meaning partially (<<<) or sufficiently (===). In the interface however no field is shown to choose between === and <<<, and the resulting expression always has prefix ===.
@mertenssander and @basharmsen I don't know whether this is due to the parser or the interface or both. If complicated we could decide not to support this feature at all; but at least we should document that decision.

The parser supports definition status slots but the results format for the web service doesn't. To support this feature this format should be extended. Adapting the webservice for this should be easy. I think that implementing it in the frontend will be the most work. @mertenssander Will this be a lot of work for you?

@basharmsen This should not be too difficult. If you could add it to the model for the frontend in an appropriate place I will implement it in due time.

Definition status is now supported by template service.


Customize rowHeight for individual items

Any way of doing this? When I try on individual items it doesn't seem to override the gridsterOpts

Well, here's what I did:
I set the rowHeight to a <1 factor of colWidth at the beginning and on every resize of the gridster element. Then I'll set the number of rows of each item to a value resulting in its height being a multiple of rowHeight.

I'm trying to do a similar thing, is it possible to see a code example of your workaround?

Here it goes: This is inside a directive which has a controller and a link function. The controller holds an object defining the gridster options which is being bound to the directive.
function controller() {
  ctrl.gridster = { /* ... */ };
}

As can be seen, bindToController and controllerAs are used. Then, the magic happens inside the link function:
function link($scope, $elem, $attrs, ctrl)
{
var updateGridsterOpts = function()
{
ctrl.gridster.rowHeight = $elem.width() / 20;
}
angular.element(window).on("resize", updateGridsterOpts);
$scope.$on("$destroy", function()
{
  angular.element(window).off("resize", updateGridsterOpts);
});
updateGridsterOpts();

}

Thanks for taking the time to reply, very helpful!


feat: recursive delete of a package

Added support for non-empty packages deletion.
Description
Usage:
aio runtime package delete packageName --recursive.
Will delete the package named packageName, will delete actions, rules & triggers associated with the actions.

Related Issue
Closes #159

Motivation and Context

How Has This Been Tested?
unit tests.
Steps:

use a manifest to configure a package with an action.
configure the package to include a rule and link the action + the trigger.
inside an aio project, execute:
aio runtime package list to retrieve a list of the packages. Identify the package you just deployed.
aio runtime package delete packageName should return an error.
aio runtime package delete packageName --recursive should delete the package and the action & rule & trigger configured.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Tested, works well. Aside from the help text change, LGTM.


fix column resize when column size percentage doesn't sum up to 100%

Codecov Report

Merging #218 into master will increase coverage by 0.05%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   75.71%   75.77%   +0.05%
==========================================
  Files         111      111
  Lines        5107     5110       +3
  Branches      366      366
==========================================
+ Hits         3867     3872       +5
+ Misses        962      961       -1
+ Partials      278      277       -1

Impacted Files
Coverage Δ

src/components/layout/FixedHeader.jsx
58% <33.33%> (+1.65%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3cc1f2...4f37a02. Read the comment docs.

Looks good! Thanks for the PR!

Published as 5.6.1


Fix: backtraces do work on Mac

This description
backtraces **don't work** on Mac and on MinGW

seems outdated. Just checked and it works.

Ah, we support macOS now, according to https://github.com/rust-lang/rust/issues/24346


how to detect user logout?

how to detect user logout in electron?
I want to delete all cache files create in "AppData\Roaming\Rocket.Chat" in user logout.

You will need to listen to Rocket.Chat events and then make something in the Electron.


appveyor builds failing due to solarposition with numba warnings

#698 introduced a few new checks for warnings with the numba solar position method. These checks seem to fail at random on the appveyor tests.
Options:

fix/change the test
add an xfail decorator to the test when on windows

Ideally, someone that uses Windows could reproduce and fix on their machine. @mikofski can you reproduce?

Sorry for delay ...

@mikofski no problem. The new windows tests on azure pipelines in #715 don't error, so I give up.


Unable to set property 'XYZ' on org.asteriskjava.manager.event.RtcpSentEvent

Hi friends:
My application gets out the next log:
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'calleridname' to 'COARE.LUMA' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'channel' to 'SIP/1004-0000002c' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'language' to 'en' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0sourcessrc' to '0x10dcd417' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'exten' to '1000' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0dlsr' to '3.5621' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'calleridnum' to '' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'context' to 'from-application' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentntp' to '1476904995.17576094117888' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,261 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentpackets' to '10429' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,262 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentrtp' to '2199873751' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,262 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'connectedlinenum' to '' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,262 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'uniqueid' to '1476889673.78' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,262 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'channelstatedesc' to 'Up' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:15,262 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'reportcount' to '1' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'calleridname' to 'COARE.LUMA' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'channel' to 'SIP/1002-00000027' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'language' to 'en' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0sourcessrc' to '0x4806eeb2' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'exten' to '1000' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0dlsr' to '2.9410' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'calleridnum' to '' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'context' to 'from-application' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentntp' to '1476905016.17574033350656' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentpackets' to '75183' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'sentrtp' to '2200042735' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'connectedlinenum' to '' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,704 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'uniqueid' to '1476888397.64' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'channelstatedesc' to 'Up' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'reportcount' to '1' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0cumulativelost' to '2224' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0sequencenumbercycles' to '1' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'ssrc' to '0x0b911ebf' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'connectedlinename' to 'COARE.LUMA' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'priority' to '4' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0highestsequence' to '39370' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'channelstate' to '6' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,705 WARN  [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'report0fractionlost' to '0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
14:23:38,706 ERROR [org.asteriskjava.manager.internal.EventBuilderImpl](Asterisk-Java ManagerConnection-0-Reader-0) Unable to set property 'rtt' to '0.2210' on org.asteriskjava.manager.event.RtcpReceivedEvent: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.asteriskjava.manager.internal.AbstractBuilder.setAttributes(AbstractBuilder.java:132)
at org.asteriskjava.manager.internal.EventBuilderImpl.buildEvent(EventBuilderImpl.java:321)
at org.asteriskjava.manager.internal.ManagerReaderImpl.buildEvent(ManagerReaderImpl.java:348)
at org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:224)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: For input string: "0.2210"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at org.asteriskjava.manager.event.AbstractRtcpEvent.secStringToLong(AbstractRtcpEvent.java:101)
at org.asteriskjava.manager.event.RtcpReceivedEvent.setRtt(RtcpReceivedEvent.java:202)
... 8 more
thanks a lot for your help.
Best regards.

Hi,
i run into the same issue with 1.1.0 Beta and started to look at the code.
1.1.0 Beta tries to parse RTT into a integer but in Master it is already double. So it looks like this bug was already resolved in commit https://github.com/asterisk-java/asterisk-java/commit/d734ea6
Regards

Hi again,
I am using this maven

<groupId>org.asteriskjava</groupId>

<artifactId>asterisk-java</artifactId>

<version>1.0.0-final</version>

This version have the problem.
Best regards.
2016-10-28 1:28 GMT-05:00 Thomas Weber<EMAIL_ADDRESS>
Hi,
i run into the same issue with 1.1.0 Beta and started to look at the code.
1.1.0 Beta tries to parse RTT into a integer but in Master it is already
double. So it looks like this bug was already resolved in commit d734ea6
https://github.com/asterisk-java/asterisk-java/commit/d734ea6
Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/asterisk-java/asterisk-java/issues/173#issuecomment-256846252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATg989BduuIfa-v0cb7S1tNW_-8DXkBmks5q4ZYbgaJpZM4KbW_i
.

A quick check in 1.0.0-final Tag tells me that it had the same bug.
As stated: it was fixed in master, see d734ea6 (May 2015)
Currently there seems to be no binary available. Also in branch 1.1 it is not fixed.
Only workaround so far is to build your own Jar from master.

This is resolved as of Asterisk-Java 2.0.2 which is available from Maven Central.


Improve error message for Iterables.allSatisfy

Earlier only the failure of the first item was reported in the error message
This could lead to multiple iterations of rerunning/fixing when a failure was found
Now the first failure for each item is reported in the error message

Integrated thanks @martin-tarjanyi !


npm run merge:datasets doesnt use plant.csv

Describe the Bug
Currently, we make manual changes to 'plants.csv', but npm run merge:datasets does not use this data to generate the new mergedDatasets.csv.
So updates from plants.csv don't get imported into our database at the moment.
Steps to Reproduce the Problem

import .csv files from nextcloud to /scraper/data
run npm run merge:datasets

Expected Result
`mergedDatasets.csv' should contain data from plants.csv
Actual Result
`mergedDatasets.csv' doesnt contain data from plants.csv
PermaplanT version
master
Operating System
Linux
Browser
all
Versions of other relevant software/extensions
No response
Additional info/logs
No response

Currently, I'm planning to use all data in plant.csv as the main source and only import data from our other data sources if there are null values in plant.csv. The issue I see with that is, in the future, we may want to fetch data from Permapeople, Reinsaat, and PracticalPlants. If they make changes to their data, theirs won't be included in our dataset anymore. The simplest solution I see is a simple flag, deciding which data source should be the main one and which data shouldn't be overwritten.
It's not an ideal solution, but datasets running parallel is always a difficult issue to keep the data consistent and correct. Do we  have any other ideas?

Thank you for creating this issue!
This issue is out-of-scope for this sprint. We first need to define the process. And probably it makes sense that we implement the hierarchy first.


how to use RSocket with Spring Cloud Sleuth?

If i add your dependency and send a request to another service i see this:

I use RSocket.
Maybe I need to configure a bean?
Version:
Spring Cloud Sleuth v3.0.3 (latest)
Spring boot 2.5.0
Thanks for you reply.

Dear @nikita111100 , you're filing a lot of issues when you should be asking questions on Gitter or Stackoverflow. Please read carefully the resolution details of the issue https://github.com/spring-cloud/spring-cloud-sleuth/issues/1677 . You will notice that the version for which this is merged is 3.1.0-M1 and since it's not released you'd need to use 3.1.0-SNAPSHOT.


Update prereqs

Add mention to both DMS and SQL MI need to reach storage account.

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

@croblesm - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


Nukes role restrictions

About the PR

If you don't know how to turn on the harm mod, you don't play nukers.
The leader must play 5 hours in command and sec department, he must be able to lead and fight.
Medic must play 5 hours in the medical department, he must be able to heal.
A standard nuker should also play 5 hours in sec department.
And to know the general aspects of the game, all hes need to play 25 hours.
Depends:
https://github.com/space-wizards/space-station-14/pull/17928
Media

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

Changelog

:cl: VigersRay

tweak: The syndicate began to recruit more experienced people into the ranks of nuclear operatives.

Personally I think this is going too far, the whole reason that #17888 was merged was because it would allow more people to paly nukie.  But its not fair to people just to gatekeep a fun and enjoyable role. Plus this technically makes it rarer for people to get the roles. Example being, if there is only 2 people that have the requirements to be the commander on a server they will get the role, unless your are able to also ignore those role time requirements. Also in the same line of thinking, if there is no one with the capability of filling the nukie roles, does that mean that a nukie round can never start?
Idk that was a bit of a rant but I mean it as constructive criticism. I think this could be a good idea, just need to be fleshed out a bit more than just putting role timers on it.

Personally I think this is going too far, the whole reason that #17888 was merged was because it would allow more people to paly nukie.  But its not fair to people just to gatekeep a fun and enjoyable role. Plus this technically makes it rarer for people to get the roles. Example being, if there is only 2 people that have the requirements to be the commander on a server they will get the role, unless your are able to also ignore those role time requirements. Also in the same line of thinking, if there is no one with the capability of filling the nukie roles, does that mean that a nukie round can never start?
Idk that was a bit of a rant but I mean it as constructive criticism. I think this could be a good idea, just need to be fleshed out a bit more than just putting role timers on it.

the command timers are a bit much but this role absolutely needs a playtime limiter for how difficult it is
there's been multiple instances that i've personally witnessed of players having their first round be a nuke op round which is going to suck for them and everyone else around them - they're inevitably going to be yelled at by their own team and laughed at in OOC chat when they die, and they're also thrown into the most complex role in the game
roles that are difficult have role timers so that players can learn them before they play them and this shouldn't be different

i think:

commander should require a few hours as operative
operative needs salvage time
theyre still low times

i think:
* commander should require a few hours as operative

* operative needs salvage time

* theyre still low times

I agree commander should be operative time, but afaik that's not tracked so it'd need to be worked on.
Why should operative need salvage time..? They're not even remotely related roles. Simple playtime requirement should be enough for salvage.
The times are somewhat short (and nukie needing 5 hours of command for whatever reason is odd)- personally like 50 hours to get nukie should be the max though. It's a very unique role and the truth is you'll never be able to get rid of new players being nukie entire, just lower it.

  I think just having a flat 30 hour requirement would work the best.

whereas salv is surviving in space, killing dragons, healing yourself in battle, etc

whereas salv is surviving in space, killing dragons, healing yourself in battle, etc

Or it’s just flying back and forth and looting magnet debris for the shift. And with how competitive getting the salvage tech job roundstart is already, requiring salvage playtime just means that only salvage mains will get to play nukies for potentially a month.

that means more sosa ops which is good

that means more sosa ops which is good

How is letting a single player have a vastly higher chance to roll antags good for the game

Commander requiring operative time would suck because of how low the chances of rolling nukie are.  I think just having a flat 30 hour requirement would work the best.

It requiring operative time may suck, but it's a good thing. I think like, literally half an hour would be fine, just to ensure that you have played nukie at some point in the past and don't have people playing their first nukie game on commander.
Everything else I agree with

yeah im not saying 10 hours nukie requirement for commander, that would be simply impossible

commander should be like 1 hour since thats 1-2 nukie missions and thats enough time to be acquainted with it

commander should be like 1 hour since thats 1-2 nukie missions and thats enough time to be acquainted with it

If operative roletimers were based on time, there would be an incentive to waste time as nukies so you can unlock commander. Would be better to track number of times as operative?

then youd be incentivised to group suicide to get a new round quicker, which is much worse

how about some hours as security aswell?
1 hour as salv and 1 hour as sec sounds reasonable to me

For the nukie requirements, I think it'd be good if commander, maybe even agent, had a requirement for having played as nukie before, but it'd need to be really short to make sure it's actually reasonable to unlock. Like emisse said, 1-2 rounds is probably fine most of the time, it'd probably be enough to ensure that the commander can give some guidance to the team.

Just make it like 10-15 minutes so there's no dramas about getting it after a round.

merg

add some hos playtime to commander and CMO gameplay to agent

@VigersRay if you're going to work on your PRs ping us on discord.

@VigersRay Is it alright If I try and revive this PR? Wanna make this happen

and #17928

@VigersRay Is it alright If I try and revive this PR? Wanna make this happen

You can, just add him as an author

revive it address reviews and in cl do
:cl: VigersRay, Geekyhobo

@VigersRay Is it alright If I try and revive this PR? Wanna make this happen

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
If you run git fetch upstream pull/17929/head:nukeops_role_restrictions you'll have a local copy of this PR that you can make changes to.


two minor bugs

some instances don't want to be embeded to iframe, probably via X-Frame-Options headers
gotosocial instances just show image of sloth (this is probably their fault)

I think that's probably a good solution. The HTML content of the post itself is available in the ScoredPost.info dictionary. @mauforonda has implemented this in a fork. Though, I'd like to keep a similar styling to the current iframe, but something like this is a probably next step.

Closing, as this is an upstream bug.


[FEAT]: While Spreadhseet Upload, can we use Upload functionality instead of Create?

Description
Hello Marian,
Hope you are doing well!!!
I am using UI5-CC-SPREADHSHEETIMPORTER.
Can we add a feature which will Update/modify the record which are already in the Database instead of trying to Create it always?
For E.g. I have a Material Number and it's description as field. Material Number is the primary key.
Now if I change the Description in the excel file and upload it using Spreadsheet uploader. it says entity already exist.
"We need it to update only the Description".
Do we already have a functionality in which we can use Update/Modify the records or the functionality is yet to be implemented?
Thanks and Regards,
Jaydeepgiri Goswami

Hi @jaydeepgirigoswami
update and delete is planned to be in the upcoming paid version of the Spreadsheet Importer.

Hello @marianfoo,
Thanks for the information, by when can we expect the paid version to be available to the customers?
We have implemented the Standard version and will also looking forward for the paid one once available.
Thanks and Regards,
Jaydeepgiri Goswami

Hi @jaydeepgirigoswami
Due to professional and private reasons, the release has been delayed and I cannot currently give a date.
The current goal is to bring the community version to 1.0.
After that comes the Pro Edition.
Regards
Marian


Add support for alternate date encoding strategies in QueryDecoder.

Currently QueryDecoder only supports UTC dates formatted as yyyy-MM-dd'T'HH:mm:ssZ. It would be helpful for dates to be represented using alternate formats, such as secondsSince1970.

Thanks for raising the issue :) We agree this is a current limitation and will take a look at how we can improve things. Thanks.

Thanks @ianpartridge. This is mostly to bring it up to parity with how alternate date formats may be used in other areas of Kitura.

This is now tagged in KituraContracts 1.2.0

Update: for some reason this broke the Kitura tests.  I'm not sure how local testing failed to spot this.  I've deleted the 1.2.0 tag until I can figure this out.


Make Map constructor argument optional and nullable

Fixes #37779.
This PR is based on #38153 by @JaredNeil.
As demonstrated by the change in the baseline file, this affects the typing of new Map<string>. I don't quite understand why that is the case. I also don't know whether this is an issue, as new Map<string> (note the sole type argument) does not compile anyway. If this is no good, please point me in the right direction.

With this patch applied and strictNullChecks on:
const potentiallyUndefinedIterable = [['1', 1], ['2', 2]] as Iterable<[string, number]> | undefined;
new Map(potentiallyUndefinedIterable); // Map<string, number> ✔

new Map(undefined); // Map<unknown, unknown> ❓

new Map(null); // Map<unknown, unknown> ❓

This behaviour ‒ where undefined and null lead to Map<unknown, unknown> seems consistent with non-strictNullCheck behaviour. However, perhaps Map<any, any> is preferred. What are your thoughts?

@orta this looks ready to go. Were you holding it for 4.4?

I have the same issue, Is this problem has resolve?

Until this lands in TypeScript, you can use ?? [] as a workaround. Like so:
const potentiallyUndefinedIterable = [['1', 1], ['2', 2]] as Iterable<[string, number]> | undefined;
new Map(potentiallyUndefinedIterable ?? []);

I think this is good to go 👍🏻


When can the Customed Long Video Gradio Web UI be released？

HEY,
Since you have released the long video CLI inference, when will you release the Graadio Web UI for customer long video？
I think so many people are looking forward to it!
Thanks!

I suggest you try the short video gradio demo firstly and then its easy to understand long video pipeline without gradio ui.

Thanks for your suggestion! But I need it to show my boss.
By the time, when you try the long video CLI inference, did you meet the problem that
"Loading pretrained weights...
Loading vlm_att_query weights...
Loading vlm_att_ln weights...
Traceback (most recent call last):
File "/home/deepspeed/multimodal/LLaMA-VID/llamavid/serve/run_llamavid_movie.py", line 113, in
run_inference(args)
File "/home/deepspeed/multimodal/LLaMA-VID/llamavid/serve/run_llamavid_movie.py", line 50, in run_inference
video_info = pickle.load(open(args.video_file, 'rb'))
_pickle.UnpicklingError: invalid load key, '\x00'.
"
It seems something wrong with the .pkl  @dragen1860

Thanks for your suggestion! But I need it to show my boss. By the time, when you try the long video CLI inference, did you meet the problem that "Loading pretrained weights... Loading vlm_att_query weights... Loading vlm_att_ln weights... Text with video Traceback (most recent call last): File "/home/deepspeed/multimodal/LLaMA-VID/llamavid/serve/run_llamavid_movie.py", line 113, in run_inference(args) File "/home/deepspeed/multimodal/LLaMA-VID/llamavid/serve/run_llamavid_movie.py", line 73, in run_inference conv = conv_templates[args.conv_mode].copy() KeyError: None " @dragen1860

I guess you maybe give the Empy conversion template parameters. It has several given templates defined in code. you should give a specified template parameters.

HEY, Since you have released the long video CLI inference, when will you release the Graadio Web UI for customer long video？ I think so many people are looking forward to it! Thanks!

Hi, we do not have a plan to support customized long videos (means movies). Because it costs a lot of memory and needs to preprocess the movie for frame features and subtitles. You can follow the guidelines in README/Long Video Inference to support long movie inference in your own machine. It should be easy to simply modify the given gradio UI.


showing pre-releases

vfox search python is showing pre-releases that are not installable.

same problem

same problem


OOP school library: Setup associations

Pull Request Summary:
Title:
Implement Many-to-Many Relationship between Person and Book using Rental Class and Enhancements to Classroom and Student
Description:
In this pull request,I have made significant enhancements to the codebase, implementing many-to-many relationships between Person and Book using the intermediate class Rental. Additionally, we have introduced new features and improvements to the Classroom and Student classes.
Changes in Classroom and Student:

Classroom Class:

Created the Classroom class with an instance variable @label, which is initialized in the constructor.
Implemented setter and getter methods for the @label attribute using the attr_accessor macro.

Student Class:

Created the Student class with an instance variable @name, which is initialized in the constructor.
Implemented setter and getter methods for the @name attribute using the attr_accessor macro.

Many-to-Many Relationship:

Book Class:

Introduced an instance variable @rentals to maintain an array of rentals associated with the book.
Added the add_rental method to add a rental to the book, updating the @rentals array.

Person Class:

Introduced an instance variable @rentals to maintain an array of rentals associated with the person.
Added the add_rental method to add a rental to the person, updating the @rentals array.

Rental Class:

Created the Rental class with instance variables @date, @book, and @person.
Modified the constructor to accept date, book, and person as arguments and set the corresponding attributes.
The Rental class now connects Person and Book classes through a many-to-many relationship, serving as an intermediate association between them.

With these changes, the codebase now supports many-to-many relationships between Person and Book using the Rental class. Additionally, the Classroom and Student classes have been improved, providing better encapsulation and attribute access.
Please review and merge this pull request to incorporate these enhancements and new features into the main codebase, making it more robust and flexible in handling various relationships and scenarios.

Thanks, for approving😊


I've tried creating a new VM, updating everything on it but I keep getting it.

This issue is present in my environment on the latest master branch 0691cd2
Tested on these browsers:

Mozilla Firefox 101.0.1
Google Chrome 103.0.5060.53

With updatehub-ce built from source running on these servers:

arch
OS
misc

❌
ARMv7
Raspian
Raspberry Pi 3B+

❌
x86_64
Fedora 36

On the server side, updatehub-ce logs report:
... method=POST, uri=/api/packages, status=500 error=no multipart boundary param in Content-Type
potentially relevant source code at: ui/src/components/PackageList.vue

Could you prepare a PR?

Good news - #314 fixes the issue in my environment.

Fixed in #314. @Alex-T-Stark thanks for letting us know.


docs: 4x typos

Line numbers in Readme.md included below
I bolded the fixes: "property", "accompanying", "against", and "potential".
`
$ git diff 8ae456f54d346dc84d49bba5a01888653ba2981b
diff --git a/Readme.md b/Readme.md
index 8b4eb51..41bace8 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1159,7 +1159,7 @@ object. Additionally they typically come with two extra properties:
'ER_ACCESS_DENIED_ERROR'), a Node.js error (e.g. 'ECONNREFUSED') or an
internal error (e.g. 'PROTOCOL_CONNECTION_LOST').

err.fatal: Boolean, indicating if this error is terminal to the connection

object. If the error is not from a MySQL protocol operation, this properly

object. If the error is not from a MySQL protocol operation, this property
will not be defined.

err.sql: String, contains the full SQL of the failed query. This can be
useful when using a higher level interface like an ORM that is generating

@@ -1430,8 +1430,8 @@ opening a GitHub issue simply asking to whom a security issues should be
addressed to without disclosing the issue or type of issue.
An ideal report would include a clear indication of what the security issue is
-and how it would be exploited, ideally with an accompaning proof of concept
-("PoC") for collaborators to work again and validate potentional fixes against.
+and how it would be exploited, ideally with an accompanying proof of concept
+("PoC") for collaborators to work against and validate potential fixes against.
`

Hi @dashinja you're welcome to make a pull request with those changes, otherwise I don't have the authorship information to credit your contribution.

I tried to do a pull request but was unable. Forgive me, this is my first
attempt at open source contribution.
Would you kindly send me how? I know how to do it in projects I'm a
collaborator on, but couldn't get it going with MySQL.
Also, thank you for reaching out, it means a lot.
Sincerely,
Byron Miller
On Tue, Feb 5, 2019, 10:35 PM Douglas Wilson<EMAIL_ADDRESS>wrote:

Hi @dashinja https://github.com/dashinja you're welcome to make a pull
request with those changes, otherwise I don't have the authorship
information to credit your contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mysqljs/mysql/issues/2171#issuecomment-460890306, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYab5q1Dyq1TOe1PP4XzxfEXsSpWYpzfks5vKk2TgaJpZM4aZbb2
.

Hi @dashinja it's no problem. It sounds like you may not be familiar with the GitHub fork process to contribute to other projects 👍 GitHub has various documentation around this, but the one I think folks find the most helpful is this: https://guides.github.com/activities/forking/

@dougwilson Thank you!
Pull Request Submitted!
Thanks for the link.


Change "dotation" to "dot notation" in two places

I assume this was a typo and should be "dot notation" as in the previous "SpecReplicasPath" section.

/assign @zparnold

Good catch! Thanks!
/lgtm
/approve


Generic argument type gets lost in completion

Not sure if there is already an issue open for it, but in the following example
fn foo<T>(param: T) {}

fn main() {
  foo(<|>)
}

the type of param seems to get lost trying to display the expected types:

Writing fn foo(param: f32) works as expected.

Well, this kind of is correct. If you wrote foo::<f32>(), you'd get param: f32 as hint. Since you didn't specify the parameter, it has to be inferred, but there's not yet enough information to infer it. Showing T as the type would be kind of wrong since T isn't a valid type in this context, or it may even be a different type here if the function you're in also has a parameter T. Maybe there's something else we can display here though.

The way I found this was that I wanted to extend the add_call_parenthesis setting to handle cases like
fn accept_fn<F: Fn()>(f: F) {}

accept_fn(f<autocomplete>)

but the expected_type is #error. Do you know how I could get check whether the expected type would accept a function?

Ah well, that's the same issue I'm referring to in #8676 :sweat_smile: As I wrote there,

This isn't completely trivial because it's not about the expected type, but about a trait bound on it. We should probably carry them over from type checking somehow; a simpler approach for now might be to only make it work if we're in a function parameter.

But as you noticed, it may actually not be easier for a function parameter, since the way we calculate the expected type there is by taking the type of the function expression :thinking: I don't really see an easy way to do this, unfortunately :confused:

Ah well I see, thank you. I'll close this then in favor of 8676.


ARROW-1074: Support lists and arrays in pandas DataFrames without explicit schema

This introduces automatic type inference for lists and numpy arrays in a pandas data frame.
Partial implementation for: https://issues.apache.org/jira/browse/ARROW-575

Thank you for fixing this!

Thank you!

@fjetter Thanks for this. I was the original reporter and was planning to fix this, but couldnt find the time on my end to do this. Thanks again


Create information pane / card component: Class Number

This is handled by using the same component (previously called "subject-drop-down") and passing in different parameters.


Add windows_feature, windows_feature_powershell, and windows_feature_dism resources

Ported from the windows cookbook 4.0
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

doubly approved


Use Redis in the Kyma Runtime to Store and Retrieve Data

Tutorials: https://developers.sap.com/tutorials/cp-kyma-redis-function.html
Hi Colleagues,
this is just a minor thing to mention. When working through the tutorial I noticed that terminology has changed in some places and the screenshot and terms in the tutorial are outdated. Maybe you find time to update, for example in:
Step 7.4 - Event Triggers seems to be called Event Subscriptions in the meantime.
Best regards,
Alex

Hi Alex,
Thank you for the comment. The tutorials have been updated to reflect the name changes.
Regards,
Jamie


Create setup.py

Write a setup.py file to create the distribution of the package

@jaymodi98  What is the status of requirements.py I have dependency of that file in setup.py

I have updated requirements.txt. :+1:

Yes this looks good to me


Project build not works

Hello,
I've tried following build process, but it just keep showing logs with build command
$ npm run build

><EMAIL_ADDRESS>build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

><EMAIL_ADDRESS>build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

><EMAIL_ADDRESS>build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

><EMAIL_ADDRESS>build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler
...
...

Am I doing correctly, or missing something?

Hi @djKooks - thanks for getting in touch.
Can you provide the following to help us:

your OS
your node and npm versions

Also can you clean out node_modules from both the top level and under packages/wrangler.

@petebacondarwin thanks for follow-up 🙏

OS: Mac M1 (Big Sur)
Node / NPM: v14.16.1 / 6.14.12

I've follow-up the process in this document (https://github.com/cloudflare/wrangler2/blob/main/CONTRIBUTING.md), so there were no node_modules in package/wrangler.

Please try node version 16 (the latest LTS version), which will also result in npm version 8

@petebacondarwin thanks!
It seems working after bumping up node.

Great - glad it is working. The CONTRIBUTING doc does mention using the LTS version. But perhaps we should make that more clear? Closing this issue as you are now unblocked.

@petebacondarwin thanks!
Maybe it will be better to make it more clear, unless if you're thinking to make this project to always base on newest node version.

I think we should always be encouraging developers of the wrangler tool to be using the latest LTS version of node.
The version that wrangler runs on could be more relaxed...

@petebacondarwin @mrbbot thanks for comment. Looks very reasonable 👍

Indeed we even have
  "engines": {
    "node": ">=16.0.0"
  },

in our top level package.json.
We should update this to: >= 16.7.0. (And perhaps enforce it in a postinstall script?

@petebacondarwin looks right. How do you think of following change?
https://github.com/cloudflare/wrangler2/pull/271

Also one more question.
When I try to run wrangler dev index.js, it shows as following after account creation.
⬣ Listening at http://localhost:8787
remote worker: Error: Failed to fetch /accounts/0d03575700684a90f4af1b90e87be426/workers/subdomain/edge-preview - 403: Forbidden
    at fetchInternal (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109478:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchResult (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109509:16)
    at async sessionToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111903:28)
    at async previewToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111921:53)
    at async createWorker (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111945:17)
    at async start (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:113032:16)

Is there something more need to be done?
(or link of guide document is also okay 🙏 )

Not sure about that error... @threepointone ??

Could you try with the latest beta? I think this was a problem with 0.0.8. Install wrangler@beta and see if this still occurs?

I think I figured this out, are you using durable objects by any chance?

@threepointone you mean in index.js? I've just followed up the process in quickstart
echo "export default { fetch() { return new Response('hello world') } }" > index.js

@threepointone @petebacondarwin okay this is the one I can see in the newest commit version
wrangler-test wrangler dev index.js
⬣ Listening at http://localhost:8787
remote worker: Error: Failed to fetch /accounts/0d03575700684a90f4af1b90e87be426/workers/subdomain/edge-preview - 403: Forbidden
    at fetchInternal (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109478:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchResult (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109509:16)
    at async sessionToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111903:28)
    at async previewToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111921:53)
    at async createWorker (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:111945:17)
    at async start (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:113032:16)
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ B to open a browser, D to open Devtools, S to turn on (experimental) sharing, L to turn on local mode, X to exit   │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

and it works well when I turn on local mode, but not without this.
Also, how do you think about showing log more clear way? For example, it has been showing logs like above cause it cannot catch exception on fetch process...
const response = await fetch(`${CF_API_BASE_URL}${resource}${queryString}`, {
    method: "GET",
    ...init,
    headers,
  });

How about wrapping this part as
try {
const response = await fetch(`${CF_API_BASE_URL}${resource}${queryString}`, {
    method: "GET",
    ...init,
    headers,
  });
} catch (e) {
    throw new Error(
      `bla bla bla -> ${e}`
    );
  }

?

What exact version of wrangler are you using? The latest beta release (0.0.12) should contain a change that shows better error messages for 403 Forbidden responses.

@petebacondarwin I'm working with the newest code base (npm link package/wrangler). Currently it works as
$ wrangler dev index.js
⬣ Listening at http://localhost:8787
remote worker: Error: Failed to fetch /accounts/0d03575700684a90f4af1b90e87be426/workers/subdomain/edge-preview -
10063: workers.api.error.subdomain_required
    at throwFetchError (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109771:17)
    at fetchResult (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:109742:5)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async sessionToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:112138:28)
    at async previewToken (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:112156:53)
    at async createWorker (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:112180:17)
    at async start (/Users/kination/workspace/oss/wrangler2/packages/wrangler/wrangler-dist/cli.js:113346:16) {
  code: 10063
}
Tried to open a new devtools window when a previous one was already open.
Tried to open a new devtools window when a previous one was already open.
Tried to open a new devtools window when a previous one was already open.
Tried to open a new devtools window when a previous one was already open.
Tried to open a new devtools window when a previous one was already open.
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ B to open a browser, D to open Devtools, S to turn on (experimental) sharing, L to turn on local mode, X to exit                        │
╰─────────────────

Is this works as you've intend?

Ok I see what's happening here. You need to create a workers.dev subdomain on the dashboard. Go to dash.cloudflare.com, choose Workers in the left sidebar, and you should see a UI to set your workers subdomain in the right sidebar.
Some follow up notes for us -

wrangler 1 had a command to set this subdomain from the command line. I dunno whether we should have it on Wrangler 2.
I do think we should make users register a subdomain when they make a Cloudflare account
in any case, we should handle this error better in the cli, and have messaging that asks a user to create a subdomain for workers.dev

I'm going to reopen this issue, and we'll edit the title to reflect the problem and assign to someone to fix it later.
Thank you for helping us find this, appreciate your patience!

@threepointone thanks for notice~ I'll check

@threepointone @petebacondarwin now error log not showing. Thanks for progress~
It shows as
$ wrangler dev index.js
⬣ Listening at http://localhost:8787
╭──────────────────────────────────────────────────────────────────────────────╮
│ B to open a browser, D to open Devtools, S to turn on (experimental)         │
│ sharing, L to turn on local mode, X to exit                                  │
╰──────────────────────────────────────────────────────────────────────────────╯

but in this case, is this local mode? (because I can check in localhost)
If it is seems it should not show L to turn on local mode 🤔

This is as expected, we setup a proxy locally to access via localhost, but the actual worker is running on the edge. You can hit L to run the worker locally as well.

@threepointone

actual worker is running on the edge
-> is this means I can see same page as localhost in worker xxx.workers.dev in non-local mode? Because I cannot see it...(localhost works well)

If I understand correct, when you use wrangler dev in remote mode, it is actually creating a temporary "preview" worker, not publishing to your xxx.workers.dev domain.

Closing as Wrangler appears to be working as expected, and this issue is turning into a mix of different resolved problems.
@djKooks  - Please open a new issue with any new problems you encounter.


Add support scripts to allow parallel tests

This enables updating the repo's build matrix adding multiple machines to a pool for some test. Adding new machines requires setting $VM_AMOUNT to the total amount of VMs for some $TEST and each machine should also set an env variable $TARGET_SET with an index from 1 to $VM_AMOUNT.
Also add a few other small fixes for osx build setup.

Needs mynewt-core and mynewt-nimble support before it can be merged.


Update for VS2022 and .NET 6

Let me open by saying, wonderful extension, thank you!
Is there any chance this can be updated for VS2022 and include the ability to debug the latest .NET?  There are instances where WSL2 just doesn't cut it (i.e. debugging Bluetooth LE interfaces) and I require the use of a remote Linux machine. Currently, with VS2022, I have to build, copy/paste the output to the machine, run it manually and then attach to the process via SSH, and hope I didn't miss my breakpoint.
Unfortunately, I'm on a newer version of Visual Studio and using .NET 5 and 6, not Mono anymore.
I'd like to take a crack at adding those capabilities, but currently don't have the bandwidth to do so.

I'm following you, hope you can update VsLinuxDebug

I created a new VSMonoDebugger2022 version to support VS2022 today. I also don't use Mono anymore. But I needed an extension for the .NET 5 and 6 deployment via SSH. Unfortunately, VsLinuxDebug didn't work because the device doesn't have curl installed and also doesn't have access to the internet. So I have to install VSDebugger manually.
After that I use the Visual Studio 2022 SSH Remote Debugger.
Maybe I can extend the extension VSMonoDebugger2022 for a better dotnet debugging workflow. Unfortunately, I usually don't have the time to do so.

Gteat update @GordianDotNet! So the cURL auto-installer wasn't working? Odd, I'll check into it. None the less, I really appreciate your tool as you inspired me to create the VSLinuxDebug. Keep up the great work. If we bump into each other at a future tech conference, beers are on me 👍


Symfony 5: recaptcha route not working

Hello all,
First of thank you for creating this bundle!
Other than this routing issue everything else works really well.
Symfony spits out the following error:
Unable to generate a URL for the named route "maba_gentle_force_unlock_recaptcha" as such route does not exist
The route is defined as this in the routes.yaml file.
gentle_force:
    resource<EMAIL_ADDRESS>
Route looks fine in debug:router
+--------------+------------------------------------------------------------+
| Property     | Value                                                      |
+--------------+------------------------------------------------------------+
| Route Name   | maba_gentle_force_unlock_recaptcha                         |
| Path         | /gentle-force/recaptcha/unlock                             |
| Path Regex   | #^/gentle\-force/recaptcha/unlock$#sDu                     |
| Host         | ANY                                                        |
| Host Regex   |                                                            |
| Scheme       | ANY                                                        |
| Method       | POST                                                       |
| Requirements | NO CUSTOM                                                  |
| Class        | Symfony\Component\Routing\Route                            |
| Defaults     | _controller: maba_gentle_force.recaptcha.controller:unlock |
| Options      | compiler_class: Symfony\Component\Routing\RouteCompiler    |
|              | utf8: true                                                 |
+--------------+------------------------------------------------------------+

Did anything change in Symfony 5, or did I forget to configure something?
Patiently waiting for any solution :smiley:
Cheers.

Ended up being a caching issue. Issue solved.


External DNS cannot update DNS record

Component external-dns doesn't update DNS record if redeployed
Steps to reproduce

Deploy stack on GKE with nginx and external-dns and any component with ingress
Confirm IP address of the nginx LoadBalander and DNS name creation. This IP address should be also associated to DNS name
Undeploy stack on GKE with external-dns
Deploy stack and confirm nginx have got a new IP address
Wait for timeout (300) and check DNS. It still points to the old IP address from the step number 2

Troubleshooting
External DNS have got following logs
external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info msg="
Change zone: humdrum-kona-kaea-46 batch #0"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: a-auth.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kube-ingress/dex-ingress\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: a-kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/istio-ingressgateway\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: a-minio.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kubeflow-data/minio\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: auth.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: auth.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kube-ingress/dex-ingress\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/istio-ingressgateway\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: minio.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Del records: minio.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kubeflow-data/minio\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: a-auth.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kube-ingress/dex-ingress\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: a-kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/istio-ingressgateway\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: a-minio.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kubeflow-data/minio\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: auth.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: auth.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kube-ingress/dex-ingress\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/istio-ingressgateway\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: minio.humdrum-kona-kaea-46.epam.devops.delivery. A [<IP_ADDRESS>] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=info

msg="Add records: minio.humdrum-kona-kaea-46.epam.devops.delivery. TXT [\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/kubeflow-data/minio\"] 300"external-dns-5b6cdb7bff-2sqqt: time="2022-05-30T12:00:58Z" level=error

msg="googleapi: Error 404: The 'entity.change.deletions[6]' resource named 'a-minio.humdrum-kona-kaea-46.epam.devops.delivery. (TXT)' does not exist.\nMore details:\nReason: notFound, Message: The 'entity.change.deletions[6]' resource named 'a-minio.humdrum-kona-kaea-46.epam.devops.delivery. (TXT)' does not exist.\nReason: notFound, Message: The 'entity.change.deletions[7]' resource named 'a-kubeflow.humdrum-kona-kaea-46.epam.devops.delivery. (TXT)' does not exist.\nReason: notFound, Message: The 'entity.change.deletions[8]' resource named 'a-auth.humdrum-kona-kaea-46.epam.devops.delivery. (TXT)' does not exist.\n

I was not able to exactly reproduce the problem.  Probably external-dns was undeployed before it managed to fully reconcile the DNS records with ingress objects in Kubernetes. Reconciliation (synchronization) happens once per 30 seconds (configurable), so race conditions are possible (it deletes one TXT record and fails to delete another one because it's undeployed already).
I changed the record synchronization policy from upsert which only adds and updates records to sync which also deletes not needed/old/obscure DNS records managed by external-dns, to make sure it does not let DSN rubbish and behavior is more predictable.
Also, I introduced a pre-undeploy hook https://github.com/agilestacks/google-components/commit/3bbcef6eeb7d5c466426a948898942238745694c#diff-fb3520e0769b9eabdee3e999f4fce43e948751b09804a58a1937bcd90724723a  which pauses undeployment for a while (sync interval + some delta) to make sure it has enough time to reconcile DNS records of other components of the stack (nginx, dex, minio, others).


Fix gke auth 1.3

FIXES: #65
Get the GKE auth token from the config map.

Thank you for your contribution! This is a great way to solve the GKE authentication issue when kubectl has already resolved the token for us.
Pending the quick code change, I am going to merge this!

@brosner fixed -- LMK if you want me to squash these commits.

Nice PR, i'm looking forward to seeing this merged!


Add new resource for managed networks

i fixed the acceptance tests and now they are green
TF_ACC=1 go test $(go list ./...) -v -run "^TestAccCloudflareDeviceManagedNetworks" -count 1 -parallel 1 -timeout 120m -parallel 1
?   	github.com/cloudflare/terraform-provider-cloudflare	[no test files]
=== RUN   TestAccCloudflareDeviceManagedNetworks
--- PASS: TestAccCloudflareDeviceManagedNetworks (11.69s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/internal/provider	12.431s


[Enhancement] Add support for schemaTypeChoices and SchemaType APIs to LineageIntegratorContext

Is there an existing issue for this?

[X] I have searched the existing issues

Please describe the new behavior that that will improve Egeria
Add support for schemaTypeChoices and SchemaType APIs to LineageIntegratorContext.
There are the 2 schematype to schematype relationships that are not currently implemented.
Alternatives
not using the integration connector to create this metadata
Any Further Information?
SchemaTypeChoice should have a schemaTypeOption relationship when it is linking to the schema type.
this will allow is to link Asset ->EventTypeList ->EventType using the Lineage event integration connector
The 2 API schema types that are linked is the APIOperation to its child schema type
https://egeria-project.org/types/5/0536-API-Schemas/
Would you be prepared to be assigned this issue to work on?

[ ] I can work on this

The following methods were added to the lineage integrator context on 7th December 2022.
    /**
     * Create a relationship between two schema elements.  The name of the desired relationship, and any properties (including effectivity dates)
     * are passed on the API.
     *
     * @param assetManagerIsHome ensure that only the asset manager can update this relationship
     * @param endOneGUID unique identifier of the schema element at end one of the relationship
     * @param endTwoGUID unique identifier of the schema element at end two of the relationship
     * @param relationshipName name of the relationship to delete
     * @param effectiveTime optional date for effective time of the query.  Null means any effective time
     * @param properties relationship properties
     *
     * @throws InvalidParameterException  one of the parameters is invalid
     * @throws UserNotAuthorizedException the user is not authorized to issue this request
     * @throws PropertyServerException    there is a problem reported in the open metadata server(s)
     */
    public void setupSchemaElementRelationship(boolean                assetManagerIsHome,
                                               String                 endOneGUID,
                                               String                 endTwoGUID,
                                               String                 relationshipName,
                                               Date                   effectiveTime,
                                               RelationshipProperties properties) throws InvalidParameterException,
                                                                                UserNotAuthorizedException,
                                                                                PropertyServerException
    {
        ...
    }

    /**
     * Remove a relationship between two schema elements.  The name of the desired relationship is passed on the API.
     *
     * @param endOneGUID unique identifier of the schema element at end one of the relationship
     * @param endTwoGUID unique identifier of the schema element at end two of the relationship
     * @param relationshipName name of the relationship to delete
     * @param effectiveTime optional date for effective time of the query.  Null means any effective time
     *
     * @throws InvalidParameterException  one of the parameters is invalid
     * @throws UserNotAuthorizedException the user is not authorized to issue this request
     * @throws PropertyServerException    there is a problem reported in the open metadata server(s)
     */
    public void clearSchemaElementRelationship(String  endOneGUID,
                                               String  endTwoGUID,
                                               String  relationshipName,
                                               Date    effectiveTime) throws InvalidParameterException,
                                                                             UserNotAuthorizedException,
                                                                             PropertyServerException
    {
        ...
    }


docs(search): Algolia troubleshooting section for index configuration problems

Motivation
Many Docusaurus sites using Algolia DocSearch encounter index configuration problems.
This is a bit nasty because:

I think the Algolia team creates the initial crawler config and they may make mistakes
Docusaurus sites upgrade from v1 to v2/v3, with significant config changes
Changing the crawler config initialIndexSettings is not automatically applied to the index
It's easier to delete/recreate the index from scratch on config change

For that reason, let's write more information on our docs so that we receive fewer support requests on GitHub or Discord.

https://deploy-preview-10056--docusaurus-2.netlify.app/docs/search#algolia-index-configuration
https://deploy-preview-10056--docusaurus-2.netlify.app/docs/search#algolia-troubleshooting

Related issues/PRs
https://github.com/facebook/docusaurus/issues/10050
https://github.com/facebook/docusaurus/issues/9200
https://github.com/facebook/docusaurus/discussions/10007
... and many others

Hey @shortcuts, will merge now, but feel free to review and submit a PR if you think any of this is incorrect


Fix create custom query

A couple small issues with generating a custom query:

[ ] First thing it asks for is the query type string and that's correct, but the button says "Add Argument". Should probs say "Add query type string" or something instead.
[ ] Next the user is given the option to add query parameters, but it says "Add Argument" also. Maybe change to "Add query parameter"?
[ ] There's another issue with how query parameters are added. It calls them "arg1", "arg2", etc., when you should be able to specify the parameter's name (always a string), the parameters ABI type, and the value for this instance of your newly created query.


Defaults to mainnet in case of no specified network for viewer tzkt link

Fixes issue where directly visiting a /view/ link would cause the tzkt link to use 'undefined' as it's subdomain. Defaults to mainnet now.

Handled via #83 - closing for now.


[DO NOT MERGE] Migrating to support spark 2.0.1

Making updates to support use with spark 2.0.1
Minor code change and dependency change

Going to close this, see #9


Cannot run on windows

After run deno run -A jsr:@ryoppippi/curxy, the terminal feedback:
Listening on http://<IP_ADDRESS>:63263/
◐ Starting cloudflared tunnel to http://<IP_ADDRESS>:63263                                                 10:44:19
error: Uncaught (in promise) TypeError: Windows only supports ctrl-c (SIGINT) and ctrl-break (SIGBREAK).
    at bindSignal (ext:runtime/40_signals.js:14:10)
    at Object.addSignalListener (ext:runtime/40_signals.js:54:19)
    at Process.on (node:process:355:12)
    at Process.once (ext:deno_node/_events.mjs:533:8)
    at startTunnel (file:///C:/Users/user/AppData/Local/deno/npm/registry.npmmirror.com/untun/0.1.3/dist/index.mjs:36:13)
    at async Promise.all (index 1)
    at async https://jsr.io/@ryoppippi/curxy/0.1.5/main.ts:73:3
    ```

I don't use windows so prs are welcome

just sent a PR

@ekinertac hasn't update his PR for a while.
If anyone want to contribute it, I'm happy about it

couldn't find time to update the PR, all contributions are welcome

@ekinertac thank you for your initial work!

Hi @ryoppippi ! Is this now able to be used on Windows or is it still not setup?🤔 I'm new to this kind of thing and just came across your package..

@ryoppippi Oh - how do make that change?
Im trying it now and I see this if i run deno run -A jsr:@ryoppippi/curxy

I already added cloudflared flag, so you can just run deno run -A jsr:@ryoppippi/curxy --cloudflared=false
But in this case, the localhost will not be public and you need to find some other way to make it public(maybe using ngrok is another option?)

untun is widly used like nuxt or slidev, so idk why it does not work in deno.
If it doesn't work on deno but on node, maybe we re-implement it to use node/bun instead of deno


Where is the api function of zmq.STREAMER?

I have looked for the api documents and I didn't find it https://pyzmq.readthedocs.io/en/latest/
however , learning-0mq-with-pyzmq gives an example of ZMQ.Device:
import zmq

def main():

    try:
        context = zmq.Context(1)
        # Socket facing clients
        frontend = context.socket(zmq.PULL)
        frontend.bind("tcp://*:5559")

        # Socket facing services
        backend = context.socket(zmq.PUSH)
        backend.bind("tcp://*:5560")

        zmq.device(zmq.STREAMER, frontend, backend)
    except Exception as e:
        print (e)
        print ("bringing down zmq device")
    finally:
        pass
        frontend.close()
        backend.close()
        context.term()

if __name__ == "__main__":
    main()

and it really does work, so i am curious about where the ZMQ.STREAMER api is

https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/devices/streamer.html

got it , cause for libzmq has updated and in pyzmq 13,the pyzmq.device api has been deprecated

closing some old questions, especially those about libzmq and not pyzmq


Optional body parameters

There are 5 operations in data/api/client-server that don't require their body parameter (missing required: true):

postReceipt
reportContent
sendMessage
setRoomStateWithKey
searchUserDirectory

Is this intentional? If yes, how can requests be made without body (for example, send null as application/json body)? And what is the effect of omitting the body? Except for searchUserDirectory, there aren't required parameters, so an empty body can be sent instead without obvious differences. About searchUserDirectory: Is search without search term supported by omitting the body completely? If so, why is the search term a required parameter of the body? postReceipt adds an extra field in the body, which would not work if the body is null.
I think this isn't intentional. Would you accept a PR that sets required: true in these bodies?

yeah I don't think it is intentional either.

It seems like element-android does not provide a body for postReceipt, so this is actually a breaking change. I don't know if that should really change anything here.

Other REST - or REST-like - APIs very often allow for completely omitting empty bodies, so this could easily become confusing for developers.

Other REST - or REST-like - APIs very often allow for completely omitting empty bodies, so this could easily become confusing for developers.

On the other hand, this is something that's easily noticed and fixed whilst developing clients (if it gets rejected), but it's more annoying leaving the lack of clarity open to the point that different homeserver implementations might act differently.

Other REST - or REST-like - APIs very often allow for completely omitting empty bodies, so this could easily become confusing for developers.

examples would be useful, otherwise it's hard to evaluate the truth of this assertion.
Presumably you'd advocate opening up other endpoints to allow omitting bodies too, for consistency?

it's more annoying leaving the lack of clarity open to the point that different homeserver implementations might act differently.

yes, it's clear that the spec should be making a stand in one direction or the other.

examples would be useful, otherwise it's hard to evaluate the truth of this assertion.

I'll have a look through some other APIs too, unfortunately the three I have in mind right now aren't public so I don't know if I'm allowed to share them as examples.

yes, it's clear that the spec should be making a stand in one direction or the other.

This is basically the core of my concern, doesn't actually matter overly much if it's allowed or not, as long it is clear to the developers what is to be expected - and that the actual implementation doesn't differ between servers.

Presumably you'd advocate opening up other endpoints to allow omitting bodies too, for consistency?

And yeah, if the endpoints don't require arguments then - if empty bodies should be allowed - they should also allow omitting the empty object entirely.

I'd instead say that it's better to have the body required in all instances — it's my opinion that there should be only one way to do things.
If there's only one way to do things, clients will very quickly switch to doing it in only one way. If clients only do it in one way, then servers will definitely support doing it that way (otherwise they notice quickly that clients don't work!!).
If there are two ways to do things, then we have to test that you can do it both ways, and that all homeservers can do it both ways (even though common clients may actually only do it in one of those two ways).
This leaves the opportunity for a new homeserver developer to come along and only implement one way (the common case), perhaps not noticing there was another way clients could use (but perhaps only rare/exotic clients do).
You could say that we could make the spec mandate that empty bodies are ALWAYS omitted and then that would satisfy my opinion above. That's true, but it probably means having extra special-case code in clients and servers when, actually, emitting empty bodies was probably easier to do as it didn't need a special code path.

Another datapoint here: synapse currently requires a body for all of the endpoints mentioned above except POST /rooms/{roomId}/receipt/{receiptType}/{eventId} - and that is covered by https://github.com/matrix-org/synapse/issues/10534.


import github library

You wrote that importing a library with the git https clone url should work ...
Or is it a must that the imported lib is a du-lua project?
$ du-lua import https://github.com/EasternGamer/AR-Library.git
Lua CLI Utility for Dual Universe v0.6.3 by Wolfe Labs @ Node v10.16.0
Downloading library files from: "https://github.com/EasternGamer/AR-Library.git"
(node:324) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.join (path.js:427:7)
    at Function.getProjectInfo (C:\Users\tiramon\AppData\Roaming\npm\node_modules\@wolfe-labs\du-luac\library.js:178:53)
    at Function.loadExternalLibrary (C:\Users\tiramon\AppData\Roaming\npm\node_modules\@wolfe-labs\du-luac\library.js:142:37)
(node:324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not
handled with .catch(). (rejection id: 2)
(node:324) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Ok just found out while reading the code that this is the passage that should tell me that target lib does not have a project.json ... maybe you want to fix that ;)

Fixed the typo, at last!


[FEATURE] Harvester Cloud Provider compatibility check enhancement

Is your feature request related to a problem? Please describe.

Harvester Load Balancer feature contians a support matrix of RKE2 and Harvester compatible versions, from the UI, we should consider to disable the Harvester cloud provider option when the RKE2 version is not compatible with the Harvester version.
e.g., related LB enhencment issue 2134 will only works with Harvester v1.1.1 and upcoming RKE2 versions.
Describe the solution you'd like

From the UI, we should consider to disable the Harvester cloud provider option when the RKE2 version is not compatible with the Harvester version.
If the compatibility check fails. Show a warning banner upon the create button to tell the user the reason and a doc link.

Describe alternatives you've considered

Additional context

Verified fixed on master-7783939e-head (09/30) with Rancher v2.6.9-rc3. Close this issue.
Result

When we change the cloud provider and csi-driver chart version in Rancher rke-metadata-config setting,
Then we select the incompatibility RKE2 version, the Harvester cloud provider is disabled and there will be a warning banner

When we change the cloud provider and csi-driver chart version in Harvester csi-ccm-versions according to  Semver expression
Then we select the incompatibility RKE2 versions, the Harvester cloud provider is disabled and there will be a warning banner

Test Information

Test Environment: 1 node Harvester on local kvm machine
Harvester version: master-7783939e-head (09/30)
Rancher version: v2.6.9-rc3
Harvester ui-source: Auto
Rancher ui-offline-preferred: Dynamic

Verify Steps

Open Rancher Global settings
Edit the rke-metadata-config
Change the default url to https://harvester-dev.oss-cn-hangzhou.aliyuncs.com/Untitled-1.json which include the following cloud provider and csi-driver chart changes

"charts": {
     "harvester-cloud-provider": {
      "repo": "rancher-rke2-charts",
      "version": "1.1.0"
     },
     "harvester-csi-driver": {
      "repo": "rancher-rke2-charts",
      "version": "1.1.0"
     },

Save and reload page
Open the create RKE2 cluster page
Select the incomparable RKE2 version
Check the Cloud provider drop down
Enable Harvester API in Preference -> Enable Developer Tools & Features
Open settings
Click view API of any setting
Click up
open the  id": "harvester-csi-ccm-versions"
Or directly access https://<IP_ADDRESS>/v1/harvester/harvesterhci.io.settings/harvester-csi-ccm-versions
Click Edit button
Change the default value to {"harvester-cloud-provider":">=0.0.1 <0.1.2","harvester-csi-provider":">=0.0.1 <0.1.2"}

Show and Send request
Repeat step 5 - 7


Update dependencies in requirements

What? and Why?

Update dependencies to fix vulnerability

Checklist

[ ] CHANGELOG.md updated? (if required)

@dcdarrell9 you need to squash this.

@jonnyshaw89 & @bitdivision pushing dismisses the reviews 🙃


enable catalog generation for imsim

This addresses #50

Ah, yes, of course.  I'll add that.

Yes, it will apply those effects...i.e., that part of the code hasn't changed from DC1.

In my opinion, this is ready to merge.


[SR-11568] libdispatch build reorganization inadvertently disabled tsan/libdispatch tests on linux CI

Previous ID
SR-11568

Radar
None

Original Reporter
@buttaface

Type
Task

Status
Reopened

Resolution

Additional Detail from JIRA

Votes
0

Component/s
Project Infrastructure

Labels
Task

Assignee
@yln

Priority
Medium

md5: b72328092c42d46829347587214cb38a

Issue Description:
Julian Lettner enabled several of these tests for linux in May, but they depend on libdispatch.so and other files being built in a specific location. A libdispatch pull for Windows a month ago moved some of those libraries around and disabled all these tests, likely by mistake.
I reported this a couple weeks ago as a comment on that libdispatch pull but got no response, so I'm filing it here, so someone gets those tests enabled again.
Also, it would be worthwhile for the CI to report when a pull disables several tests like this, rather than only reporting failed tests, so this doesn't keep happening.

@yln, I checked and these still aren't being run on the linux CI. I think simply reordering the build to make sure libdispatch is built first should fix it, should I look into it?

@gottesmm is addressing this here: #65829


Test against merkle root malleability

https://github.com/c-geek/merkle/issues/6

are there any issues with this pull request?

I was just AFK for few days. I will have a look.

oh ok, np. no hurry.

Sorry for the delay!


Update docker-compose.viteserve.yaml

In new versions of DDEV Mailpit is used instead of MailHog
time="2023-09-17T13:16:12+05:00" level=warning msg="The \"DDEV_MAILHOG_PORT\" variable is not set. Defaulting to a blank string."  time="2023-09-17T13:16:12+05:00" level=warning msg="The \"DDEV_MAILHOG_HTTPS_PORT\" variable is not set. Defaulting to a blank string."

You'll find that this isn't a problem now in DDEV v1.22.3, but it would still be fine to update. (We added the DDEV_MAILHOG_PORT back in)


chore: make bip44params required

wip - making this required everywhere in a single PR

closed by https://github.com/shapeshift/lib/pull/1057


Fixes doc error: namespace name must have changed

$ kubectl -n local get deployments
No resources found in local namespace.
$ kubectl -n olm get deployments
NAME               READY   UP-TO-DATE   AVAILABLE   AGE
catalog-operator   1/1     1            1           6m11s
olm-operator       1/1     1            1           10m
packageserver      1/1     1            1           10m

Description of the change:
Fixing an error in the install docs.
Motivation for the change:
Error was found
Architectural changes:
None

Testing remarks:

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ x] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

@bentito Looks like you need to sign the DCO before this can merge.


[WIP] Introduce cluster image

Proposed changes
Introduce cluster image to fix the build issues on kubernetes cluster.
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[x] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes

We don't need the cluster image since we can build the images in a job we run before running clusters.