Swift build error: rename error

Hopefully I'm just doing something wrong, but when I pull this repo and build in Linux using "swift build" the cloning of packages seems to work, but after the SSL Package is cloned, I see this error:
swift-build: rename error: File exists (17): /src/Packages/CLibvenice -> /src/Packages/CLibvenice-0.1.0
I also followed the steps to install the three C libs as well.
Any ideas what I'm missing?
Wes

+1, running into the same issue on Ubuntu 14.04 with the latest snapshot of Swift (December 18th)

I had the same problem. It's an error the current version of SPM has, there is a bug ticket here: https://bugs.swift.org/browse/SR-166 . Please comment there that you have the same problem so that the priority can be increased. Also a fix: your project directory might be over $HOME so move it there or in a subdirectory of it.

@BenchR267 Thanks for that, did you run into the same error after switching to a "local" directory in the VM?
/home/vagrant/projects/epoch-test/Packages/HTTP-0.1.2/Sources/Response+File.swift:25:8: error: missing required module 'CURIParser'
import Core

@codegefluester no, in my case everything is working fine. Could you please delete you Packages/ and .build/ directory to make a completely clean build? If that is not working, please show me you Package.swift

Just tried again in a fresh folder which is not a shared VM folder, Package.swift is the same basic one as in the readme. Maybe I am just doing something wrong or its another bug in the newest Swift snapshot from Friday. Thanks for the help!
import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/Zewo/Epoch.git", majorVersion: 0, minor: 1)
    ]
)

You are right, it was/is a bug in SPM. @paulofaria fixed it. In my example it is working in an ubuntu vagrant with the newest swift snapshot. Could you please try it?
rm -rf Packages/
rm -rf .build/
swift build

It should work now as expected. The problem is that every package that uses the C-library needs to link it as a dependency.

@codegefluester Can you check if it works, so I can close the issue? thanks!

For me it worked after going back to the Swift snapshot of the 10th of December, the current one did not work for me.

It is supposed to be fixed now. Did you clean the build leftovers and tried to build again?


Add initial representation of classical expressions

Summary
This adds a method of representing a classical type system and expression tree in Qiskit.  This initial version contains only simple bitwise, logical and relational operations on Booleans and sized unsigned integers.  This is largely in line with
https://github.com/Qiskit/RFCs/blob/0dd13344/0010-simple-classical-representations.md

Some of the details surrounding construction and representation have been changed slightly from that design, but the type system described is the same.
In particular, this commit slightly modifies the representation of the tree; instead of individual tree items for each unary and binary operation, they are part of the Unary and Binary nodes with a respective enumeration discriminator in the node.  This was done to make visitors to the expression tree require less boilerplate and be easier to maintain by exploiting the natural similarities between all these operations of the same type.  One can still discriminate on the particular operations by using a jump table based on the enumeration values, if desired.
Secondly, a series of constructor functions was added that is separate to the representation form.  This is for both efficiency and user convenience.  The tree form is purely a data format; it does no type-checking on creation so that manipulations of the tree do not need to pay runtime costs when the manipulators are the ones who will be ensuring that the type system is fulfilled anyway.  The more user friendly constructors do resolve all this type information as part of their construction.  They also infer typing information for Qiskit scalar values, and insert casts as required.
Last, the tree has a Cast node added that is additional to the description in the RFC.  This was done to make life easier for consumers of the tree: they do not need to be aware of all the possible implicit promotions that are required to make various unary and binary operations valid.  This will reduce complexity of consumer code and reduce the chance of bugs caused by different paths handling the casts differently.

Details and comments
Close #10223.
Release note is left til the epic closes, but I've tagged "new feature" for the short-form changelog.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

319 of 345 (92.46%)  changed or added relevant lines in 7 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 85.979%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/classical/types/ordering.py
36
37
97.3%

qiskit/circuit/classical/types/types.py
41
42
97.62%

qiskit/circuit/classical/expr/constructors.py
137
149
91.95%

qiskit/circuit/classical/expr/expr.py
95
107
88.79%

Files with Coverage Reduction
New Missed Lines
%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
1
90.39%

crates/qasm2/src/lex.rs
2
91.65%

crates/accelerate/src/vf2_layout.rs
3
94.74%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
71796

Relevant Lines:
83504

💛  - Coveralls

The other thing I could consider here is to improve the integer-literal type inference for all binary operations, rather than just the bitwise ones.  Technically it's not needed in the Terra-side data model, but I think it'll be easier for interop with other places.
If so, I'll make a follow-up PR rather than dragging this bottom-of-the-stack one on longer.

I'm happy for this to merge at this point, but I'll throw it back to you again since I replied to your comments.


fix: MountHandle cause panic

when MountHandle .await is completed, drop MountHandle will poll the inner task again, then will cause a panic

that should fix https://github.com/Sherlock-Holo/fuse3/issues/91


Use an OS-standard location for siad's --sia-directory

An OSX user recently pointed out that since the default Sia datadir is located in the App bundle, there's no way of upgrading their UI release without wiping out Sia's data.  Since a recent pull request to sia.js, it's now possible to set --sia-directory independently from siad's path.  Using an OS-standard data location is the obvious solution to this problem (ApplicationSupport for OSX, %APPDATA% for windows, ~/.local/share/sia for linux), but there are caveats with this as discussed in https://github.com/NebulousLabs/Sia/issues/1070.  In order to safely implement this change, siad should add a lockfile to the sia-directory to ensure only one instance of siad can be running on a given directory.
In the mean time, we can guide users through the process of migrating their data from the app bundle to the new location upon 1.0's release.  This process is easier for Windows and Linux users since they can directly replace the binary inside their release folder, unlike OSX users.

There might be a way to do in-place upgrades from within the app, which would be the preferred method. Using a standard data directory has previously been associated with losing money. Now that we have seed based wallets it's much less of a risk, but still an issue if we end up with multiple instances of siad open at the same time.
You can use things like file locks to help protect against this problem, but if we start using a common directory we also lose portability and we lose the ability for a user to easily have multiple wallets on the same machine.

Closed in #306.


set the git_head field with set_fact

The flowdock role fails if the "store git head" task does not have an stdout field (the file does not exist).
Instead we could set the value as a fact and only if the stdout field exists.

Removed the git_branch details in commit 72c3bf31c639e672b4a405e8cc5f49fd34f7c6ea


Missing tags on one of the security group

Description
Security group eks-cluster-sg-cluster_name-1618283425 is missing tags.
Versions

Terraform:
 Terraform v0.14.9
Provider(s):

+ provider registry.terraform.io/hashicorp/aws v3.36.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.0.3
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/hashicorp/template v2.2.0

Module:
terraform-aws-modules/eks/aws v14.0.0

Reproduction
Steps to reproduce the behavior:

build EKS cluster with custom tags
find sg with description EKS created security group applied to ENI that is attached to EKS Control Plane master nodes, as well as any managed workloads.
inspect tags

Expected behavior
All sg has all givens tags.
Actual behavior
One of the sg is missing tags.

Closing because even with eks resource this Security Group can not be tagged.


When I click to open "sidr side menu" I´m also clicking on my sidr menu item

I followed the sidr documentation here: http://www.berriart.com/sidr/.
And I already have my sidr side left menu working fine.
But on my mobile,only on android default browser, when I click in my link "Open Menu" I also click on my menu item "Menu 1", and so it opens my submenu items with my toggle effect. And I dont want this.
I just want to open my submenu items when I click in my Menu items, and not in my link to open the menu.
I found a solution, that is, if I put my sidr menu with some margin top, to not align with my link to open the menu, the problem is solved, like in my second image.
But I dont want to give that margin-top, so Im trying look for other solution.
Somebody there have exprience with this plugin and can give me a help??
If my link to open the sidr menu is aligned with my menu Item, Im clicking on both when I click to open the menu!
If my link to open the menu is not aligned with menu 1... I only click on my link and it works fine!
This is my jQuery to start sidr plugin:
 $(document).ready(function() {
      $('#simple-menu').sidr({
           name: 'sidr',
          speed: 200,
          side: 'left',
          source: null,
          renaming: true,
          body: 'body'

         });
    });
$(document).ready(function() {
    $('.sub-menu-sidr').hide();
    });
});

Preparing a new version with a fix for this https://github.com/artberri/sidr/tree/reborn


Fixed keybindings for motions in vim

Fixed key bindings for vim. Previously it was that "h" means "up", and "k" means "left", when in reality it's the opposite, "h" is "left" and "k" is "up"

Looks good, thank you.


Integrate plugin UI feedback from all sources

Integrate all UI feedback and recommendations into an action plan to schedule

Plan of Action for UI Revamp

Task A: Plugin UI Code Refactoring

Make folder structure for the UI seperate with each folder based on it's responsibility inside the src folder

components - store the UI elements
contexts - store the contexts in seperate files
hooks - store the UI Hooks being used all over the packages
features - each seperate feature present in the plugin
utils - utility or adhoc code should reside here for functions
atoms - to store atomic data, stored via jotai

All the Styles for a component should reside in the same folder as the component itself, and should be imported in the component.

Task B: Defining the Color system for plugin properly

We will define this on three standard level, and we will only use CSS Variables to store all the color based informations. The organization would be such as:

palette.css - this would be the file which will store all the colors only

for convience we will store 10 shades for each color suffixed to the color
we will store hex literals for colors as well as rgb information

theme.css - this file will contain the colors regarding the context for each usage

a good example would be like, text-light, text-dark, text-secondary
we will also consider few more colors groups primary, secondary, error, warning, info, success
also adding sizes such as font-sizes and spacing would be added here also.

component.css - these css files would be individual files of css contained within each component to tweak styling based on scoped usage.

Task C: Implementing Changes from UI/UX Review

This will cover all the necessary changes required to make the UI/UX improved as per review feedback.
Figma Ref: https://www.figma.com/file/Fdao3PT4mJCBchTNAfmWma/Remix-Plugin?type=design&node-id=0-1&mode=design

C.a : Change Layouts as per design

Modify the header to show the Plugin information for version and release status
Implement Environment Section for users to select between different environments

Also require adding customised radio button component

Move Plugin Information at the footer and clean the middle section to implement tabbed views.

C.b : Add tabbed styled different sections mentioned below:

Home

Modify Accordions as per new figma design + add elements on the accordian trigger based on state: "success" |  "compiling" | "failed" | "etc".
For each of feature within flow, make modification as per visible in figma.

Transactions

Modify cards to display the transactions as per figma design + add view to show number of transactions at the Transaction Tab view.

Info

Change Info section to be rendered from and markdown file, making it easier to edit and make changes frequently


NPM search results

Realising the limited space we have (that we're currently misusing) of 59 characters, I'm thinking we should use a standard package.json description template. The text will get truncated based on available space, so we want to prioritise the most important info first. I propose the following:

Extend Node.js to support ___ via customisation hooks.

EX

Extend Node.js to support JSX & TSX via customisation hooks.

Will get truncated to

Extend Node.js to support JSX & TSX via customisation hook…

I think how it works is the least important part. The _what_s are the most important.
If we refer to it as node instead of Node.js, we'll likely not hit the truncation:

Extend node to support JSX & TSX via customisation hooks.

I think Node.js looks more official. I do usually refer to the executable as node, and that is technically what we are extending.

Description
I like to have Extend Node to support JSX & TSX via customization hooks it's should be okay in length and we have node keyword customization hooks and jsx & tsx.
example where that work

Extend Node to support JSX & TSX via customization hooks
Extend Node to support YAML via customization hooks
Extend Node to support JSON via customization hooks
Extend Node to support npm: protocol via customization hooks

exemple where that doesn't work

Extend Node to support mismatch format via customization hooks

So to summaries +1 for Extend Node to support XXX via customization hooks when it's specific file
For a Behavior such as mismatch format idk
keywords
Normaly npm search, should search also in keywords. So we penitentially need to see how we can work with theses thing


Possible feature to save raw-frame from camera?

Hey! I am looking for a solution to stream the Raspicam images to an android device. I haven't looked into your code yet, but would you thank that it's possible to press the button on the phone and save a 5MP image on the SD card for example? This would really help! :-) thank you very much. Great work!!!

I've added the ability to take a local snapshot on the Android device. Unfortunately, taking snapshots on the Raspberry Pi is not supported and probably won't be. That would require a program running on the Pi that would respond to snapshot requests. This program doesn't really communicate with the Pi, it just reads the stream that is being sent out.

Cool! Thank you for the feature. So you say, I would need to write a programm on raspberry side to interrupt the stream to capture a frame, save it, send it to the phone and restart the stream?
I'm trying to implement it in a Python script, but I have no idea how to trigger the stop-signal via an android command. I was thinking about a php-post or something, but this would not have any influecne on the running script, right?
Thanks!

I would have the Python script on the Pi listen for commands on a socket. It would then run whatever processes are necessary to either stream or take snapshots. As long as it keeps handles to those processes, it can stop them whenever it needs to. The Android program would then send commands through a socket of its own. Take a look at scripts/player.py for an example of how to run and manage processes.

You might also want to look at my new project, CurlingTV. It has a Python server that provides H.264 streams as well as still images. I'm using it to provide a private TV system for our curling club, but it's really a general purpose CCTV server and client.

Hey! Thank you very much for your advice! I've looked into your code and found some lines which could help, but I'm not a Python programmer, thus it's becomming really hard to understand how it is working - at least for me ;)..
So far my setup (too bad I'm not a canuck anymore and therefore don't see much Curling here in europe..;) ):
I have built a small lensless-microscope which has an LCD, an LED and a Motor. LCD+LED represent a small projector which creates light-patterns, Motor is the Z-Stage. The android phone does the processing (if you like, the setup can be seen here: https://beniroquai.wordpress.com/) and communication with the RaspiCam and initialize the acquisition process.
Whats working so far: Livestreaming the camera-view to the phone and display it. With you'r app it works flawelessly. I've also managed to implement a second http-socket which sends commands for the LED/Motor-section. So I can controle the microscope
What should work: Press a button "Acquisition" which then trigger the process. Take eg. 9 photos with different LCD-patterns and then download the images to the phones sd. Everything works, but when I try to "pause" the python image stream the python script breaks.
What you did:
camera.start_recording(output, format='h264', bitrate=BPS)
and at a time (I actually don't know what is representing the trigger signal) you do this:
self.camera.capture(stream, 'jpeg', use_video_port=True)
So I somehow need to figure out, how I can start streaming the camera to the android and then get full-resolution (best would be RAW-resolution) images out of the ring-buffer.
I've posted my code on github as the first part of the upcoming "release" in the near/far future. Maybe you've some suggestion you could give - I'm definitly not a programmer though.
Anyway thank you very much for your hard work and making it OpenSource! :+1:
Best regards!


Add views to docs

Codecov Report

Merging #71 (b904ecf) into develop (89de6a8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #71   +/-   ##
========================================
  Coverage    74.56%   74.56%
========================================
  Files           42       42
  Lines         2886     2886
========================================
  Hits          2152     2152
  Misses         734      734


α should be transformed in alpha for cases such as α-synuclein

I have contacted HGNC to suggest adding a synomym for the SNCA gene. Have α-synuclein in addition to alpha-synuclein:
https://www.targetvalidation.org/search?src=q:α-synuclein
However we may be able to sanitise the query ourselves by transforming α into alpha (perhaps same could apply to beta and β e.g. β-amyloid:
https://www.targetvalidation.org/search?src=q:β-amyloid

the only way a query would come through is copy-pasting the unicode character, which we hope is rare.
we can reopen if we see lots of traffic and/or we have a user request


method 'listen' from 'Presence Channel' don't work in IOS

Platform:

iOS
Version: latest
emulator and device

Versions:

CLI: 6.1.2
Cross-platform modules: 6.1.2
Runtime(s): 6.1.1
Plugin(s): 1.2.0

Bug:
method listen from Presence Channel don't work in IOS

const echoChannel = this.echo
            .join(channel)
            .leaving(() => this.someoneLeaveTheChat()) as NullPresenceChannel;`

echoChannel.listen(this.eventName, (data) => {
      console.log('received from server ', data);
});

after some tests, i found error occurrence only in IOS when i have two TnsEcho instances.

I have Problem to with the Presence Channel on iOS
hello @happones any ideas to help out with this issue ?

after some tests, i found error occurrence only in IOS when i have two TnsEcho instances.

hey @Sartori-RIA Finally found a way around the problem ?

@lord-zeus in the project of the company we used laravel-echo we switched to the pusher service, because the problem always happened with IOS no matter what we did


Validation

Assalamo aleykoum
How can you ensure that it is valid until 2077? What if a month ends up being 30 days instead of calculated 29 days or vice versa?

You should use this momentjs plugin instead. The calculations have not proven to be reliable in the past year.
https://github.com/xsoh/moment-hijri


Age of Blood v0.1

Initial test of character sheets for a Forged in the Dark hack.  Credit to joesinghaus for the original Blades in the Dark sheets.

https://drive.google.com/open?id=0B9cCuvRxFxWUMnJJcW5QTUxRYkk

Unfortunately, we can't accept sheets for games which aren't published or otherwise publicly available, so I'll have to close this. If you have a Pro membership, you are of course welcome to use this Custom sheet in your own games.


Save the loaded markerdata in to the database

Save the parsed .gpx data in to the database

done


max.old.space.size and max.semi.space.size failure on node v6.5.0

Failure:
    ok 1 - GC Data # time=4.849ms

        # Subtest: Environment Data
        ok 1 - Node version matches 'v99.99.99' format
        ok 2 - Node runtime name is recognised
        ok 3 - Node runtime vendor recognised as IBM
        ok 4 - Appmetrics version matches '99.99.99(-dev).123456789012' format
        ok 5 - heap.size.limit is an integer
        ok 6 - heap.size.limit is positive
        ok 7 - max.semi.space.size is an integer
        ok 8 - max.semi.size is positive
        ok 9 - max.old.space.size is an integer
        ok 10 - max.old.space.size is positive
        not ok 11 - Values for max.old.space.size and max.semi.space.size match heap.size.limit
          ---
          at:
            line: 317
            column: 5
            file: tests/api_tests.js
            function: runNodeEnvTests
          stack: |
            runNodeEnvTests (tests/api_tests.js:317:5)
            tests/api_tests.js:77:3
            API.<anonymous> (tests/api_tests.js:75:6)
            formatOSEnv (appmetrics-api.js:100:41)
            raiseEvent (appmetrics-api.js:41:17)
            events (appmetrics-api.js:213:9)
          source: >
            t.ok(4*parseInt(nodeEnvData['max.semi.space.size']) +
            parseInt(nodeEnvData['max.old.space.size']) ===
            parseInt(nodeEnvData['heap.size.limit']),

   not ok 2 - Environment Data # time=14.05ms
      ---
      at:
        line: 75
        column: 6
        file: tests/api_tests.js
        type: API
      results:
        plan:
          start: 1
          end: 33
        count: 33
        pass: 32
        ok: false
        fail: 1
        time: 14.05
      source: |
        tap.test("Environment Data", function(t){
      ...

This is likely to do with the updated v8 version in node v6.5.0

could be that we need to move to latest NAN level (assuming NAN support Node 6.5)

I ran the test on my machine and printed out the values being tested, which were:
max.old.space.size =<PHONE_NUMBER>
max.semi.space.size = 16777216
heap.size.limit =<PHONE_NUMBER>

Looks like heap.size.limit now equals (2 x max.semi.space.size + max.old.space) instead of (4 x max.semi.space.size + max.old.space).  I haven't tracked down the code change in V8 to confirm, but I think the values appmetrics is reporting are still correct so this will just require a test case change to test for 2 x ... if version greater than 6.5.0.

See https://github.com/nodejs/node/blob/v6.x/deps/v8/src/heap/heap.h#L1183-L1185 vs https://github.com/nodejs/node/blob/v6.3.0/deps/v8/src/heap/heap.h#L1152-L1154


Update validation checks to include new OneOfControl feature

Editor UI will need to be updated to detect/check for unset values when using this new controller.
See relevant PR here: https://github.com/elyra-ai/pipeline-editor/pull/170

No longer relevant since the move to rjsf


Integration Candidate 20190906

Describe the contribution
Merge of CCB 20190904 approved commits.
Fixes #8
Testing performed
Steps taken to test the contribution:

Checked out http://github.com/nasa/cFS master and followed setup instructions
Checked out ic-20190906
Followed standard build instructions (no cmdUtil build warnings observed)

Expected behavior changes

No impact to behavior from this change, just replaced deprecated dependencies

System(s) tested on:

Server
OS: Ubuntu/Linux 4.4.0-146-generic
Versions: bundle 6.6 master with this branch

Additional context
None
Contributor Info
Jacob Hageman/NASA
Community contributors
CLA on file

@avan989 Could you use this branch to build a table and verify it still works (no behavior changes)?

Standby on this, it is not backwards compatible with cFE 6.6 and requires use of the 6.7 release candidate.


error running the generator

although there is some resulted output,
when running the generator from outside the role we get this:
Output Directory: ./docs There are existing files in the output directory /Users/role/docs Do you want to clear the directory and rebuild all the docs? [Y/n] y Traceback (most recent call last):   File "/usr/local/bin/ansible-mdgen", line 6, in <module>     md = AnsibleMdgen()   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AnsibleMdgenClient.py", line 24, in __init__     writer.render()   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AutoDocumenter.py", line 48, in render     filesTemplatesWriter.render()   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AutoDocumenterFilesTemplates.py", line 35, in render     self.iterateOnFilesAndDirectories(self.files_dir, self.config.get_output_files_dir())   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AutoDocumenterBase.py", line 27, in iterateOnFilesAndDirectories     self.createMDFile(dirpath, filename, output_directory)   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AutoDocumenterFilesTemplates.py", line 60, in createMDFile     self.addFileOrTemplate(dirpath+"/"+filename, mdFile)   File "/usr/local/lib/python3.9/site-packages/ansiblemdgen/AutoDocumenterFilesTemplates.py", line 72, in addFileOrTemplate     mdFile.new_paragraph(stream.read())   File<EMAIL_ADDRESS>line 322, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 0: invalid start byte

Hi, looks like it's having a problem outputting one of your files under the files or templates directory. Can you run in debug mode(-vvv and see if you can identify which file it is falling over at? And see if there is something different about the file, thanks.

Hi, is this still an issue? If so can you provide some more details - sample file so I can reproduce? If not, I will go ahead and close the issue.

hi. sorry, actually I tested it now, and maybe due to some other packages updates now works.
I will reopen if necessary - thanks! a lot

Cool thanks


Is there a way to differentiate with respect to an induced subtree of a pytree?

I'm going to open and close this issue since I don't expect there to be a solution, but it might come in handy later.
I'm starting to work with optax, and I'm running up against some design problems.  There might be an elegant design that I'm not seeing, or there might be an opportunity for a tool to be added to JAX.
Using optax has revealed that models have essentially four kinds of member variables:

variables related to the structure of the model,
parameters of the model,
meta-parameters of the model, and
"gradient transformation state" (for example).

Learning is the process whereby

you calculate g the derivative of the loss (a function of the parameters) with respect to model parameters given the structure and meta-parameters.
you apply g to the parameters and update the "gradient transformation state"

Meta-learning is the process whereby

you calculate h the derivative of the loss (now a function of the meta-parameters, since we will train within the batch) with respect to the meta-parameters given the structure.
you apply h to the meta-parameters and update the "gradient transformation state" of the meta-parameters.

The problem is representing such a model is cumbersome.  I'm using a dataclasses to represent the structure of the model.  I end up having parallel tree structures to represent parameters, meta parameters, and gradient transformation states.
I don't have a solution, but I'd like to do something like:
@dataclass
class C:
  x: Array = field(marked='parameter')
  y: Array = field(marked='meta_parameter')
  c: Optional[C]

c = C(1.0, 2.0, C(3.0, 4.0, None))

parameters = tree_util.extract('parameter')  # {x: 1.0, c={x: 3.0}}

# Now, training is something like
def loss(c: C):
  ...

grad(loss, wrt='parameter')(parameters)  # Only takes the derivative with respect to parameters, and fills in the parameters from the dicts

Hi, have you achieved this?

@Theo-Wu I'll happily share my experience with you.
This was a design-related question that I wrote two years ago when I was still getting comfortable with Jax.  My conclusion is that if you want to have "parameter sets" (e.g., in the question parameters and meta-parameters) then each set should be a separate object.
The advantage of doing things this way is that you can pass them to appropriate Jax functions.  The disadvantage is that if the objects comprising your model have structure (e.g., a graph or a tree), then that structure usually needs to be be reflected for each of the parameter sets.
In my research, I ended up deciding that the parallel structure approach was easier.  Then I learned about projects like Haiku and Flax that arrived at the same conclusion.  On the other hand, @cgarciae's TreeX  goes with the marked parameter approach.
Flax and Haiku provide an easy way to create parameter sets with a parallel structure to your model.  If you think the marked parameter approach would be easier for you, then try TreeX.

Thank you for your sharing! @NeilGirdhar
Recently I also choose the parallel structure. But I will go to check TreeX. Thank you again :)


add kwarg initial_cache to SemidiscretizationHyperbolic

As discussed on Slack

Could we add a fallback method create_cache(mesh, equations, solver, RealT, uEltype) = ()? I am thinking that if someone creates a custom cache for a given mesh/equations/solver combination, this would save them the trouble of also having to extend create_cache.

I'm not sure about that. Right now, they will get a method error, which basically asks "Are you sure that you don't want to use a cache? Then, they can opt-in by adding a single line in their code, so  it's not much overhead. On the other hand, this reminder can be helpful when adding new stuff. @sloede?

@jlchan You can git cherry-pick this into your branch to use this feature right now.

@jlchan You can git cherry-pick this into your branch to use this feature right now.

Thanks, good to know for future reference.


syncHistoryWithStore does not respect redux state

Hi,
I am trying to restore the displayed page on app startup but it's always /, redux store is preloaded from local storage. HoweversyncHistoryWithStore erases the state.
I use redux-localstorage to persist redux to local storage which seems to be merging state from local storage into initialState therefore restoring the state without telling anyone which shouldn't be any different for the app when the concept of single source of truth is applied.
I am sure this issue can be reproduced with initialState with hardcoded route.
import { routerMiddleware, routerReducer as routing } from 'react-router-redux';
import persistState from 'redux-localstorage';
import thunk from 'redux-thunk';
import routes from './routes';

const router = routerMiddleware(hashHistory);

const reducers = {
  routing
};

const middlewares = [ thunk, router ];

function configureStore(initialState) {
  const enhancer = compose(applyMiddleware(...middlewares), persistState());
  const rootReducer = combineReducers(reducers);

  return createStore(rootReducer, initialState, enhancer);
}

const initialState = {};
const store = configureStore(initialState);
const routerHistory = syncHistoryWithStore(hashHistory, store);

ReactDOM.render(
  <Provider store={ store }>
    <Router history={ routerHistory } routes={ routes } />
  </Provider>,
  rootElement
);

I tried adjustUrlOnReplay without luck:
const routerHistory = syncHistoryWithStore(hashHistory, store, { adjustUrlOnReplay: true });

Thanks

Debugging through syncHistoryWithStore reveals that the following statement breaks:
if (currentLocation === locationInStore || initialLocation === locationInStore) {
        return;
}

in my case initialLocation restored from state and is '/connect' and is the same as locationInStore, therefore syncHistoryWithStore does not attempt to restore the location.
// Init initialLocation with potential location in store
initialLocation = getLocationInStore();

As a workaround we could simply enforce the transition to new route right after syncHistoryWithStore. Since syncHistoryWithStore will always reset the route to '/', we could inspect the store prior to calling it and save last visited location and then feed it back after creating routerHistory:
const recentLocation = (store.getState().routing || {}).locationBeforeTransitions;
const routerHistory = syncHistoryWithStore(hashHistory, store, { adjustUrlOnReplay: true });
if(recentLocation && recentLocation.pathname) {
  routerHistory.replace(recentLocation.pathname);
}

Just a random note, it seems the syncHistoryWithStore method isn't a necessity in v5.0.0 as the middleware takes care of it. So perhaps if migrating to the alpha for that, no more issues? [outside of... the alpha thing]

It seems like react-router-redux v5.0.0 will fix a lot of things when using react-router 4.
But what about using immutable state, will a custom routerReducer do the job:
import { fromJS }           from 'immutable';
import { LOCATION_CHANGE }  from 'react-router-redux';

const initialState = fromJS({
  locationBeforeTransitions: null
});

export default (state = initialState, action) => {
  if (action.type === LOCATION_CHANGE) {
    return state.set('locationBeforeTransitions', action.payload);
  }

  return state;
};

Or middleware will take care of it?

@MacKentoch have you gotten a workaround for your question ☝

@mentrie I ended my starter with react-router-redux 4.x.x and wrote my own reducer.
I did not give a try to 5.x since I did have the use case in private or pro project then.
But, I keep interesting in new about it


Display features by selection, summary_plot

Hi,
First, thank u guys for the wonderful package.
There is a way to select the features that the summary_plot plot?

Sure! Just drop the columns you want to hide before passing to summary_plot.
On Mon, Aug 27, 2018 at 4:46 AM oshri barazani<EMAIL_ADDRESS>wrote:

Hi,
First, thank u guys for the wonderful package.
There is a way to select the features that the summary_plot plot?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/slundberg/shap/issues/242, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADkTxYHpCMPJKJrJ1O01AU_d7Qd_ylo1ks5uU9wGgaJpZM4WNpI3
.


Upgrade VB projects

Related to #265 (which concerns error messaging when users run the tool on VB projects), it would be great to have the tool work on VB projects in the future.
Updating all the source fixers to work on both C# and VB would be a fair bit of work (though not necessarily one we don't want to do), but at least getting all the upgrade steps until the source update step working with vbproj should be a more manageable work item that we should investigate doing sooner.

end of April #400
end of April #376
end of April #378
end of April #255
mid May #310

I'm trying to convert our VB.NET projects and as a test, I created a simple VB.NET library with a single class that looks like this
Public Class Class1
    Public Sub SayHello()
        Console.WriteLine(UCase("Hello, today is {0}"), Format(Now, "yyyyMMddhhmmssff"))
        Console.WriteLine(Len("hello"))
        Console.WriteLine(FormatCurrency(100.00))
    End Sub
End Class

The tool does not do anything with UCase, Format, Now, FormatCurrency functions, and the project does not compile. Is there a way to upgrade this code to net5 or netstandard2.0?

@andreymir please open your question as a new issue

@KSchlobohm / @mjrousos is this item considered closed?

Closing. we are now tracking vb issues & work w/ the area:VB.NET label


MagicNumber: Exclude certain method calls from reporting MagicNumber

I think it should be possible to ignore certain methods/classes from reporting magic number violations.
private val delay = TimeUnit.MINUTES.toMillis(3)
In this example it's pretty clear what the 3 is. And it would only make it more verbose to define the 3 as another value. As the TimeUnit class is a Java class it also won't be possible to use a named parameter for the value.
And adding suppression annotations all around the codebase for the same thing again and again seems counterintuitive.
WDYT?

I agree. I suggest to have a more conservative detection setting here. I would only report a MagicNumber if such a value is used more than once. This is similar to the StringLiteralDuplication rule.

Agree. Maybe even combine these two rules? I think Sonar has the rule MagicString which is kinda what StringLiteralDuplication is. This rule could save all kind of literals and report them in the end?

I wouldn't agree with having MagicNumberDuplication equivalent instead of current MagicNumber behaviour - even single magic number shouldn't be present in code if it's not named.
Maybe it would make sense to exclude magic numbers that appear anywhere in constants or declarations inside an object/companion object? I'd expect such private val delay = TimeUnit.MINUTES.toMillis(3) declaration in companion object, since it's effectively static.

Good idea.

I'm hitting this issue over and over, may have to take a hard look at it sooner or later if there's no activity on this one. No promises tho 💃

Closing this as #501 was merged and released with RC5.


port dataset from lexibank-old

this should be straightforward, as we have all data there, even compiled cldf, and segments.

first pass is done, we need to only adjust the python script.

Should I take care of that? Already went through something similar with leejaponic and leeainu.

already done! https://github.com/lexibank/wichmannmixezoquean


Improve READMEs for App Engine samples.

These are linked to from https://cloud.google.com/java/, so we should
have a more welcoming landing page than the existing list of folders.
CC @lesv @shun-fan

LGTM

Coverage remained the same at 21.17% when pulling cac05d5e7fa7931fbbc9e55980d251b497d9a773 on appengine-readme into 2e672da1c31a233d65d50a51f5a14b20f65b4252 on master.


Fix lint errors & get virtcontainers tests running

Fix all lint errors reported by the .ci/static-checks.sh script in the tests repo and get the virtcontainers tests working.

This is still a work-in-progress. Known issues:

test timeout: it appears that virtcontainers needs a 60s timeout, rather than the default 10s in https://github.com/kata-containers/tests/blob/master/.ci/go-test.sh#L14. As shown, that could be handled via an env var.
I'm seeing a hook tests failing locally but have run out of time today to debug:--- FAIL: TestRunHook (0.00s)
      hook_test.go:84: unexpected failure: exit status 1: stdout: , stderr:
=== RUN   TestRunHookTimeout
--- FAIL: TestRunHookTimeout (0.00s)
      hook_test.go:84: unexpected failure: exit status 1: stdout: , stderr:

Tests all passed so branch ready to review.

LGTM

LGTM

Yes, we need some feedback from @amshinde on the removeDeviceFromBridge() deletion above.

@jodh-intel You are right, we need to call removeDeviceBridge for virtio-blk case. Will look into this. I'll raise a another PR to address this case.

Hi @amshinde - are you happy for this PR to be merged and for you to re-add removeDeviceBridge() in another PR?

@jodh-intel Yeah, that works for me.

I'll go ahead and merge this one.

@sboeuf Beat me to it :)

@amshinde I was faster haha ! Could you please an issue to make sure we don't forget to fix this.


TAJO-2061: Add description for EXPLAIN statement.

Thanks @jinossy . I rebased your comments.

+1 LGTM!


App Check Jazzydoc comment edits

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion

Read the contribution guidelines (CONTRIBUTING.md).
If this has been discussed in an issue, make sure to link to the issue here.
If not, go file an issue about this before creating a pull request to discuss.

Testing

Make sure all existing tests in the repository pass after your change.
If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

At this time we cannot accept changes that affect the public API.  If you'd like to help
us make Firebase APIs better, please propose your change in a feature request so that we
can discuss it together.

Failing code coverage workflow is irrelevant to the change. Merging soon.


Pad keras.backend.ctc_decode output to consistent shape

Closes https://github.com/tensorflow/tensorflow/issues/35799
This PR does the following:

Fixes the keras.backend.ctc_decode function by having it return dense shapes defined by the input shape (with -1 used as the padding value, as documented) rather than by the length of decoded sequences in a given batch
Edits the associated unit test to expect padded outputs, and
Updates the function docstring to specify the shape for returned sequences.

Looks like I made a formatting mistake. I just fixed it. Sorry about that.


This issue happens on my home laptop (OS is also Ubuntu 16.04 x64) and on my working machine with same OS.
settings.json
{
    "editor.minimap.enabled": true,
    "workbench.welcome.enabled": false,
    "workbench.iconTheme": "vs-seti"
}

Shell variables are default ones:
"terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.shellArgs.linux": [],
"terminal.integrated.shell.osx": "/bin/bash",
"terminal.integrated.shellArgs.osx": [
    "-l"
  ],
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.shellArgs.windows": [],
"terminal.integrated.enableBold": true,
"terminal.integrated.cwd": "",
"terminal.integrated.commandsToSkipShell": [
    "editor.action.toggleTabFocusMode",
    "workbench.action.debug.continue",
    "workbench.action.debug.pause",
    "workbench.action.debug.restart",
    "workbench.action.debug.run",
    "workbench.action.debug.start",
    "workbench.action.debug.stop",
    "workbench.action.focusActiveEditorGroup",
    "workbench.action.focusFirstEditorGroup",
    "workbench.action.focusSecondEditorGroup",
    "workbench.action.focusThirdEditorGroup",
    "workbench.action.openNextRecentlyUsedEditorInGroup",
    "workbench.action.openPreviousRecentlyUsedEditorInGroup",
    "workbench.action.quickOpen",
    "workbench.action.showCommands",
    "workbench.action.terminal.clear",
    "workbench.action.terminal.copySelection",
    "workbench.action.terminal.focus",
    "workbench.action.terminal.focusAtIndex1",
    "workbench.action.terminal.focusAtIndex2",
    "workbench.action.terminal.focusAtIndex3",
    "workbench.action.terminal.focusAtIndex4",
    "workbench.action.terminal.focusAtIndex5",
    "workbench.action.terminal.focusAtIndex6",
    "workbench.action.terminal.focusAtIndex7",
    "workbench.action.terminal.focusAtIndex8",
    "workbench.action.terminal.focusAtIndex9",
    "workbench.action.terminal.focusNext",
    "workbench.action.terminal.focusPrevious",
    "workbench.action.terminal.kill",
    "workbench.action.terminal.new",
    "workbench.action.terminal.paste",
    "workbench.action.terminal.runActiveFile",
    "workbench.action.terminal.runSelectedText",
    "workbench.action.terminal.scrollDown",
    "workbench.action.terminal.scrollDownPage",
    "workbench.action.terminal.scrollToBottom",
    "workbench.action.terminal.scrollToTop",
    "workbench.action.terminal.scrollUp",
    "workbench.action.terminal.scrollUpPage",
    "workbench.action.terminal.toggleTerminal"
  ],

Same thing happens on Windows 10 x64 with latest updates.

Thanks @kovacevjosip, this is a duplicate of https://github.com/Microsoft/vscode/issues/25664


not possible using a different name for package resource ('xvfb') and package ('CSWXvfb')

Cookbook version
1.0.0
Chef-client version
12.3.0
Platform Details
Solaris 10
Scenario:
Install XVFB
Steps to Reproduce:
create a package resource with name 'xvfb'
Expected Result:
Package 'CSWXvfb' gets install
Actual Result:
nothing gets installed because no candidate version is found.

I checked the code and compared with the 0.0.3 version and apparently the main difference is that, previously, the Package Name was (the parameter for pkgutil) was obtained from the pkgutil --parse -a execution, while on version 1.0.0 it is the same (with 'CSW' prepended) as the package resource name.

Is this still a problem in the 2.x line?

I'm not working on Solaris 10 environments (or Chef driven environments) anymore, so I cannot tell.
As long as the package name is not assumed to be CSW{package resource name}, and the package system is queried properly instead, it should be ok.

@tnarik Thanks for the update.


Scaling issues with licenses page

Reported via email:

In the section The Licenses of the page https://creativecommons.org/licenses/ there are issues with browser resolution scaling in Google Chrome. Portions of the page are cut off and are not accessible.

(note how there is no ability to scroll further left to display the cut-off text)

Hi! I would like to fix this. This will be my first open source contribution project, but I have experience in general web development. I can start working on this ASAP so please let me know!

Hi! I would like to fix this. This will be my first open source contribution project, but I have experience in general web development. I can start working on this ASAP so please let me know!


unreal-tournament-2003-de-bonus-pack-ut2modzip_116d857c

Add content:

[UT2004 MAP_PACK] Unreal Tournament 2003 DE Bonus Pack (UT2MOD)

Submission log: https://unrealarchive.org/submit/#116d857c

Hello, This Has Been Uploaded By Me, I Came Across This, And Saw Nobody Had Uploaded This, Same With The Epic Bonus Pack (which it sadly didnt want to upload), And Wanted To Upload It Before It Would Be Lost In The Interwebs.

Thanks, I have added this, as well as the Epic bonus pack to the Bonus Packs section:
https://unrealarchive.org/patches-updates/unreal-tournament-2003/bonus-packs/index.html


Missing verification check for AllReduceOp w.r.t the reducer

Request description
Without any check on the shape of the reducer, the following will pass the verifer.
func.func @main(%operand: tensor<4xi32>) -> tensor<4xi32> {

 %result = "stablehlo.all_reduce"(%operand) ({
  ^bb0(%arg0: tensor<i32>, %arg1: tensor<f32>,%arg2: tensor<f32> ):
    %0 = "stablehlo.add"(%arg0, %arg0) : (tensor<i32>, tensor<i32>) -> tensor<i32>
    "stablehlo.return"(%0) : (tensor<i32>) -> ()
}) {
  replica_groups = dense<[[0, 2, 4, -1], [1,3,5,6]]> : tensor<2x4xi64>
} : (tensor<4xi32>) -> tensor<4xi32>

  func.return %result : tensor<4xi32>
}

The check should be along the same lines as https://github.com/openxla/stablehlo/blob/283702a1378d4319b0ac551c3b4502a8e22bc386/stablehlo/dialect/StablehloOps.cpp#L260.

Will be addressed as part of https://github.com/openxla/stablehlo/issues/504


How to check boundary for a line/route between two points?

I would like to check if a user walking between two points is inside a certain boundary distance.
Is there a more efficient solution than adding multiple circular boundaries calculated between those two points?

I solved this by checking the boundaries of several points along the route and checking if the device is still in at least one boundary.


updating to use new API versions

fixes for https://github.com/elastic/examples/issues/307 where old versions of API will not work with new k8s.

closing mr.  this project does not appear maintained anymore


api: add api definitions for the services

Add api definitions (protobuf) for services including:

eventlog-server
measurement-server
quote-server

resolves #12
Reopen the pr for review.

Updated the api according to the discussion with Xiaocheng.


fleetctl equivalent for "systemctl is-active"

Is there equivalent for fleetctl?
I like that if I run systemctl is-active docker I get active
I also want to be able to get status of unit which was staretd by fleetctl start.
Meanwhile as a workaround I do this:
fleetctl list-units | grep mongo@1 | awk '{print $3}'

You can use fleetctl status mongo@1


Show list of useful commands in watermark

I noticed that the watermark doesn't show up even after the update. Any Idea why?

I needed to delete the Code folder in C:\Users\[User]\AppData\Local\Roaming\Code

@odytrice We run it as an 'experiment', showing it only with half of all installations. Deleting that folder made it roll the dice again.

Hmm.. I see. Really Love it BTW


Makes server not respond

Problem
Sometimes when i start up my server it says it done but i type in /ping and it doesn't respond i cant log in or any thing.
it works sometimes when i delete it and download a new multiverse but then the next day it stops working again.
Startup log (Code formatted with 4 spaces)
No errors...
Any other relevant files:
Here is my permissions file for PermissionsEx:
users:
    doggyroc:
        group:
        - Admin
    thesnowyowl:
        group:
        - Admin
    Zafalron:
        group:
        - Donater+
    rkak12345:
        group:
        - New
    diamonde_digger:
        group:
        - New
    leithal7:
        group:
        - New
groups:
    New:
        default: true
        permissions:
        - modifyworld.login
        - spamhammer.ignore
        - -'*'
        prefix: '&8[&7New&8]&f'
    Prebuilder:
        default: false
        permissions:
        - -'*'
        - modifyworld.login
        - modifyworld.chat
        - VIP.1
        - multiverse.access.*
        - -multiverse.access.survivalmap
        worlds:
            Creative:
                permissions:
                - modifyworld.*
                - -modifyworld.blocks.destroy.bedrock
        prefix: '&1[&8Builder&1]&f'
    Builder:
        default: false
        permissions:
        - modifyworld.*
        - -modifyworld.blocks.place.bedrock
        - multihome.namedhome.set
        - multihome.namedhome.go
        - multihome.namedhome.delete
        - multihome.namedhome.list
        - multihome.defaulthome.go
        - multihome.defaulthome.set
        - reporter.report
        - mailbox.user.send
        - iConomy.user
        - multiverse.access.*
        - -multiverse.access.survivalmap
        - lottery.buy
        - battlenight.user
        - ChestShop.shop.create
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        - commandbook.spawn
        - commandbook.warp.teleport
        - VIP.1
        prefix: '&8[&1Builder&8]&f'
        worlds:
            Creative:
                permissions:
                - -modifyworld.blocks.destroy.bedrock
            Survival:
                permissions:
                - modifyworld.*
    Veteran:
        default: false
        inheritance:
        - Builder
        permissions:
        - VIP.2
        prefix: '&8[&3Veteran&8]&f'
    VIP:
        default: false
        inheritance:
        - Builder
        permissions:
        - multiverse.access.survivalmap
        - VIP.2
        prefix: '&0[&6VIP&0]&f'
        worlds:
            SurvivalMap:
                permissions:
                - -'*'
                - modifyworld.*
            Nether:
                permissions: null
            Creative:
                permissions:
                - -modifyworld.blocks.destroy.bedrock
    EpicBuilder:
        default: false
        inheritance:
        - Builder
        - VIP.3
        permissions: null
        prefix: '&7[&2Epic Builder&7]&f'
    RedstoneExpert:
        default: false
        prefix: '&7[&4Redstone Expert&7]&f'
        inheritance:
        - Builder
        - VIP.3
        permissions: null
    Soldier:
        default: false
        prefix: '&7[&0Soldier&7]&f'
        inheritance:
        - Builder
        - VIP.3
        permissions: null
    Donator:
        default: false
        prefix: '&d[&5Donater&d]&f'
        inheritance:
        - Builder
        permissions:
        - blockhat.hat
        - VIP.5
    Donator+:
        default: false
        prefix: '&5[&dDonater+&5]&f'
        inheritance:
        - Builder
        - Donator
        permissions:
        - cf.allowfly
        - nocheat.checks.moving
        - VIP.8
    Sponser:
        default: false
        inheritance:
        - Builder
        - Donator
        - Donator+
        permissions:
        - VIP.10
        prefix: '&0[&4S&ap&2o&9n&5s&de&er&0]&f'
    Trainee:
        default: false
        inheritance:
        - Builder
        permissions:
        - VIP.7
        prefix: '&f[&8Trainee&8]&f'
    Mod:
        default: false
        inheritance:
        - Builder
        - VIP
        - EpicBuilder
        - RedstoneExpert
        - Soldier
        permissions:
        - bukkit.command.teleport
        - bukkit.command.ban.player
        - bukkit.command.unban.player
        - bukkit.command.kick
        - bukkit.command.help
        - spamhammer.unmute
        - spamhammer.ignore
        - reporter.list
        - reporter.view
        - reporter.request
        - reporter.complete
        - reporter.delete
        - reporter.respond
        - iConomy.plus
        - adminchat.send
        - adminchat.read
        - autokick.nokick
        - goinround.scan
        - goinround.ignore
        - srpex.setrank.vip
        - srpex.setrank.builder
        - srpex.setrank.new
        - worldedit.*
        - glowstonelanterns.gl
        - glowstonelanterns.destroyLanterns
        - ChestShop.mod
        - discosheep.party.many
        - discosheep.mob.sheep
        - discosheep.color
        - discosheep.stop
        - ice.ipban
        - lagmeter.*
        - lottery.buy
        - mobdisguise.*
        - OpenInv.openinv
        - OpenInv.search
        - OpenInv.crossworld
        - OpenInv.exempt
        - OpenInv.anychest
        - SignClock.build
        - vanish.see
        - vanish.vanish
        - vanish.nopickup
        - vanish.nofollow
        - vanish.nointeract
        - vanish.preventincomingdamage
        - vanish.preventoutgoingdamage
        - vanish.fakeannounce
        - vanish.statusupdates
        - vanish.toggle
        - cf.allowfly
        - commandbook.warp.set
        - commandbook.broadcast
        - commandbook.mute
        - commandbook.slap
        - commandbook.slap.other
        - commandbook.rocket
        - commandbook.rocket.other
        - commandbook.barrage
        - commandbook.barrage.other
        - commandbook.shock
        - commandbook.shock.other
        - commandbook.thor
        - CommandSigns.*
        - VIP.10
        prefix: '&0[&fMod&0]&f'
    Admin:
        default: false
        permissions:
        - -vanish.hooks.dynmap.alwayshidden
        - -vanish.silentjoin
        - -vanish.silentquit
        - '*'
        prefix: '&6[&0Admin&6]&f'

I think you updated your issue (feel free to post additonal posts, we're not notified on edits) but this is still not the reason we ask:

Startup log (Code formatted with 4 spaces)
No errors...

We ask for this to see the log, and look at what MV and other plugins are doing, even if it's not to look for errors, we'll know what version you're running. Please post the actual startup log.
Thanks.

The start up log is:
2011-12-28 17:40:08 [INFO] Starting minecraft server version 1.0.1
2011-12-28 17:40:08 [INFO] Loading properties
2011-12-28 17:40:08 [INFO] Starting Minecraft server on *:25565
2011-12-28 17:40:09 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
2011-12-28 17:40:11 [INFO] [PermissionsEx] sql backend registered!
2011-12-28 17:40:11 [INFO] [PermissionsEx] file backend registered!
2011-12-28 17:40:11 [INFO] [PermissionsEx] PermissionEx plugin initialized.
2011-12-28 17:40:13 [INFO] [PermissionsEx] p2compat backend registered!
2011-12-28 17:40:13 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
2011-12-28 17:40:15 [INFO] MusicCraft Loading...
2011-12-28 17:40:15 [INFO] [PermissionsEx] Initializing file backend
2011-12-28 17:40:15 [INFO] CleanroomGenerator version 0.0.4 is enabled!
2011-12-28 17:40:15 [INFO] EndReload version 1.0.0 is now enabled.
2011-12-28 17:40:15 [INFO] LWC: Loading shared objects
2011-12-28 17:40:15 [INFO] LWC: Native library: plugins/LWC/lib/lib/native/Windows/amd64/sqlitejdbc.dll
2011-12-28 17:40:15 [INFO] LWC: Protection cache: 0/10000
2011-12-28 17:40:15 [INFO] LWC: Loaded 207 locale strings (0 overrides)
2011-12-28 17:40:15 [INFO] LWC: Permissions API: NijiPermissions
2011-12-28 17:40:15 [INFO] LWC: Currency API: iConomy6Currency
2011-12-28 17:40:15 [INFO] LWC: Connecting to SQLite
2011-12-28 17:40:15 [INFO] LWC: Performing any necessary database updates
2011-12-28 17:40:15 [INFO] LWC: Using: Native
2011-12-28 17:40:15 [INFO] LWC: Precached 0 protections.
2011-12-28 17:40:15 [INFO] LWC: At version: 4.0.2 (b576)
2011-12-28 17:40:16 [INFO] LWC: Latest version: 4.0.2
2011-12-28 17:40:16 [INFO] [Spout] Spout 644 has been initialized
2011-12-28 17:40:16 [INFO] Preparing level "Survival"
2011-12-28 17:40:16 [INFO] Default game type: 0
2011-12-28 17:40:16 [INFO] Preparing start region for level 0 (Seed:<PHONE_NUMBER>027961251)
2011-12-28 17:40:17 [INFO] Preparing spawn area: 3%
2011-12-28 17:40:18 [INFO] Preparing spawn area: 24%
2011-12-28 17:40:20 [INFO] Preparing spawn area: 36%
2011-12-28 17:40:21 [INFO] Preparing spawn area: 52%
2011-12-28 17:40:22 [INFO] Preparing spawn area: 57%
2011-12-28 17:40:23 [INFO] Preparing spawn area: 61%
2011-12-28 17:40:24 [INFO] Preparing spawn area: 69%
2011-12-28 17:40:25 [INFO] Preparing spawn area: 73%
2011-12-28 17:40:26 [INFO] Preparing spawn area: 81%
2011-12-28 17:40:27 [INFO] Preparing spawn area: 85%
2011-12-28 17:40:28 [INFO] Preparing spawn area: 93%
2011-12-28 17:40:29 [INFO] Admin Chat v1.0 is now enabled!
2011-12-28 17:40:29 [INFO] AppleTree v0.8 activated.
2011-12-28 17:40:29 [INFO] [PermissionsCompat] Compatibility layer enabled.
2011-12-28 17:40:29 [INFO] [AutoAnnouncer] Permissions support enabled!
2011-12-28 17:40:29 [INFO] [AutoAnnouncer] Settings Loaded (2 announces).
2011-12-28 17:40:29 [INFO] [AutoAnnouncer] Scheduled every 5 minutes!
2011-12-28 17:40:29 [INFO] [AutoAnnouncer] v1.3-06.25 is enabled!
2011-12-28 17:40:29 [INFO] [AutoAnnouncer] Developed by: [Sharkiller]
2011-12-28 17:40:29 [INFO] [AutoKick] Running
2011-12-28 17:40:29 [INFO] AutoSeeding version  0.1 is now enabled.
2011-12-28 17:40:29 [INFO] [BedRestore] has been Enabled!
2011-12-28 17:40:29 [INFO] [BlockHat] Found Permissions plugin. Using Permissions now.
2011-12-28 17:40:29 [INFO] BlockHat version 1.8 by nmc94 is enabled!
2011-12-28 17:40:29 [INFO] [CFBanner] CFBanner has been enabled!
2011-12-28 17:40:29 [INFO] [CFBanner] Permissions found. Using Permissions v2.7.7
2011-12-28 17:40:29 [INFO] [CFBanner] 1.9.3 loaded!
2011-12-28 17:40:29 [INFO] [ChopTree] Using Permissions.
2011-12-28 17:40:29 [INFO] ChopTree 1.2 enabled!
2011-12-28 17:40:29 [INFO] CommandSigns version1.2.0 is enabled.
2011-12-28 17:40:29 [INFO] [ConsoleLikeChat] Version 0.1 enabled.
2011-12-28 17:40:29 [INFO] [ConsoleName] Plugin enabled.
2011-12-28 17:40:29 [INFO] CraftBukkitUpToDate version 2.7.2 is enabled!
2011-12-28 17:40:29 [INFO] [DCREASON] Hooked into Permissions.
2011-12-28 17:40:29 [INFO] [PermissionsEx] p2compat backend registered!
2011-12-28 17:40:29 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
2011-12-28 17:40:29 [INFO] [DCREASON] Hooked into Permissions.
2011-12-28 17:40:29 [INFO] [PermissionsEx] p2compat backend registered!
2011-12-28 17:40:29 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
2011-12-28 17:40:29 [INFO] [DCREASON] DCReason 1.7 by Eevables and Darklust enabled. (1.8.1)
2011-12-28 17:40:29 [INFO] [DiscoSheep] version 0.3.2 is enabled!
2011-12-28 17:40:29 [INFO] [DiscoSheep] Permissions plugin detected!
2011-12-28 17:40:29 [INFO] DonationMeter version 1.0 enabled!
2011-12-28 17:40:29 [INFO] EasyRules version 1.0.0 is enabled!
2011-12-28 17:40:29 [INFO] GlowHat version 1.2.1 is enabled!
2011-12-28 17:40:29 [INFO] [Glowstone Lanterns] Loading Glowstone Lanterns...
2011-12-28 17:40:29 [INFO] [Glowstone Lanterns] Glowstone Lanterns loaded
2011-12-28 17:40:29 [INFO] [Glowstone Lanterns] Permissions enabled
2011-12-28 17:40:29 [INFO] [Glowstone Lanterns] Glowstone Lanterns V0.3 Started
2011-12-28 17:40:29 [INFO] [IceDave][IceBanIP] plugin Version [1.0] : is enabled
2011-12-28 17:40:29 [INFO] [iConomy - Celty] Enabled (165 ms)
2011-12-28 17:40:29 [WARNING] CraftBukkitUpToDate: Can't connect to ci.bukkit.org.
2011-12-28 17:40:29 [SEVERE] [LagMeter 1.2] Old permissions system detected. Using it.
2011-12-28 17:40:29 [INFO] [LagMeter 1.2] Enabled!  Polling every 40 server ticks.  Logging to C:\Users\Bill\Desktop\Games\Minecraft\Server\Test server\plugins\LagMeter\lag.log
2011-12-28 17:40:29 [INFO] [lib24time] v1.1 enabled
2011-12-28 17:40:29 [INFO] Lottery version 0.7.3 is enabled
2011-12-28 17:40:29 [INFO] [Lottery] Payment method found (iConomy version: 6)
2011-12-28 17:40:29 [INFO] [MailBox] New thread running.
2011-12-28 17:40:29 [WARNING] Problem with config file. Check file: plugin/MailBox/settings.txt
2011-12-28 17:40:30 [INFO] [MailBox]: (web-response): Plugin is up to date.
2011-12-28 17:40:30 [INFO] MailBox version 2.3 is enabled! (MySQL is disabled.)
2011-12-28 17:40:30 [INFO] MeasuringTape v0.9 by DiddiZ enabled
2011-12-28 17:40:30 [INFO] [MinecraftViewer] v1.0d Plugin Enabled.
2011-12-28 17:40:30 [INFO] [MinecraftViewer] Query running on <IP_ADDRESS>:25565
2011-12-28 17:40:30 [INFO] [MobDisguise] by desmin88 version 1.65 enabled.
2011-12-28 17:40:31 [INFO] [MultiHome] Using PermissionsEx for permissions system.
2011-12-28 17:40:31 [INFO] [MultiHome] Version 0.11.2 loaded.
2011-12-28 17:40:31 [INFO] [MultiInv] version 2.4.2 is enabled!
2011-12-28 17:40:31 [INFO] [MusicCraft] Enabling! Version: 1.4.4 by bekvon
2011-12-28 17:40:31 [INFO] [MusicCraft] Found Permissions Plugin!
2011-12-28 17:40:31 [INFO] Permissions detected, neoPaintingSwitch permissions enabled...
2011-12-28 17:40:31 [INFO] neoPaintingSwitch version 1.2 is enabled!
2011-12-28 17:40:32 [INFO] [NoCheat] version [2.22a] is enabled.
2011-12-28 17:40:32 [INFO] NoEnderGrief version 1.1.1 (1A5) is enabled! ^_^
2011-12-28 17:40:32 [INFO] [OddItem] 0.8.1 enabled
2011-12-28 17:40:32 [INFO] [OddItem] Using RefinedSoundEx for suggestions.
2011-12-28 17:40:33 [INFO] [OddItem] Adding lapisblock x2 to group "oddtransport"
2011-12-28 17:40:33 [INFO] [OddItem] Adding greendye to group "oddtransport"
2011-12-28 17:40:33 [INFO] [OddItem] Adding reddye to group "oddtransport"
2011-12-28 17:40:33 [INFO] [OddItem] Group oddtransport added.
2011-12-28 17:40:33 [INFO] [OddItem] 883 aliases loaded.
2011-12-28 17:40:33 [INFO] [OpenInv] version 1.6.5 enabled!
2011-12-28 17:40:33 [INFO] [PermissionsEx] Superperms support enabled.
2011-12-28 17:40:33 [INFO] [PermissionsEx] v1.17 enabled
2011-12-28 17:40:33 [INFO] [PExChat] v3.0.2 enabled
2011-12-28 17:40:33 [INFO] [Ptweaks] Ram logger v1.0 enabled.
2011-12-28 17:40:33 [INFO] [Ptweaks] Version 1.6.1 enabled.
2011-12-28 17:40:33 [INFO] [PTweaks] Set auto save interval to 57000 in world "Survival"
2011-12-28 17:40:33 [INFO] [PTweaks] Chunk Life Time: 300000ms
2011-12-28 17:40:33 [INFO] [PTweaks] Chunk Prune Time: 5000ms
2011-12-28 17:40:33 [INFO] lifetime
2011-12-28 17:40:33 [INFO] prune
2011-12-28 17:40:33 [INFO] enable
2011-12-28 17:40:33 [INFO] [PTweaks] Monster Limit set to 0
2011-12-28 17:40:33 [INFO] [RecordRepeatPlugin 0.2] == RecordRepeatPlugin 0.2 ENABLING ==
2011-12-28 17:40:34 [INFO] [RecordRepeatPlugin 0.2] == RecordRepeatPlugin 0.2 ENABLED ==
2011-12-28 17:40:34 [INFO] [SRPEX] Found PermissionsEx v1.17 and is good to go
2011-12-28 17:40:34 [INFO] [SRPEX] SetRankPEX v1.3.4 is now enabled.
2011-12-28 17:40:34 [INFO] [SignClock] 5 Themes loaded.
2011-12-28 17:40:34 [INFO] [SignClock] 0 SignClocks resetted.
2011-12-28 17:40:34 [INFO] [SignClock] v1.8.3 enabled.
2011-12-28 17:40:34 [INFO] SmokeTP by waffletastic and Sluijsens enabled!
2011-12-28 17:40:34 [INFO] SpamHammer 1.7a enabled.
2011-12-28 17:40:34 [INFO] SuperCauldrons v1.1.0 by Zach Hinchy (http://hinchy.us/) enabled.
2011-12-28 17:40:34 [INFO] [TGM] I see PermissionsEx. I will use it.
2011-12-28 17:40:34 [INFO] [TGM] v1.6 enabled.
2011-12-28 17:40:34 [INFO] [Tim] There are some who call me... Tim?
2011-12-28 17:40:34 [INFO] VIP version 1.0.4 by Kostronor is enabled!
2011-12-28 17:40:34 [INFO] [WolfPound] - Attached to Permissions
2011-12-28 17:40:34 [INFO] [WolfPound] - Version 1.1b1 Enabled
2011-12-28 17:40:34 [INFO] [AllPay] - Version 3.0 - hooked into iConomy 6 for WolfPound v1.1b1
2011-12-28 17:40:34 [INFO] WorldEdit 5.0 enabled.
2011-12-28 17:40:34 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
2011-12-28 17:40:34 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
2011-12-28 17:40:34 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
2011-12-28 17:40:35 [INFO] WorldGuard: (Survival) Single session is enforced.
2011-12-28 17:40:35 [INFO] WorldGuard: (Survival) TNT ignition is PERMITTED.
2011-12-28 17:40:35 [INFO] WorldGuard: (Survival) Lighters are PERMITTED.
2011-12-28 17:40:35 [INFO] WorldGuard: (Survival) Lava fire is blocked.
2011-12-28 17:40:35 [INFO] WorldGuard: (Survival) Fire spread is UNRESTRICTED.
2011-12-28 17:40:35 [INFO] WorldGuard: Loaded configuration for world 'Survival"
2011-12-28 17:40:35 [INFO] WorldGuard: 0 regions loaded for 'Survival'
2011-12-28 17:40:35 [INFO] WorldGuard 5.4 enabled.
2011-12-28 17:40:35 [INFO] Permissions is enable for sdBountyHunter.
2011-12-28 17:40:35 [INFO] [World Portal] Loading World Portals...
2011-12-28 17:40:35 [INFO] [World Portal] World Portals loaded
2011-12-28 17:40:35 [INFO] [World Portal] World Portal V0.1.1 Started
2011-12-28 17:40:35 [INFO] CommandBook 1.7-customized enabled.
2011-12-28 17:40:35 [INFO] CommandBook: 0 Homes(s) loaded
2011-12-28 17:40:35 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
2011-12-28 17:40:35 [INFO] CommandBook: 0 banned name(s) loaded.
2011-12-28 17:40:35 [INFO] CommandBook: 1 kit(s) loaded.
2011-12-28 17:40:35 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
2011-12-28 17:40:35 [INFO] [mcMMO] PermissionsEx found, using PermissionsEx.
2011-12-28 17:40:35 [INFO] Loading Config File...
2011-12-28 17:40:39 [INFO] The automatic update-Check only work every 6 hours, the last check was 11 minutes ago.
2011-12-28 17:40:39 [INFO] mcMMO version 1.2.07 is enabled!
2011-12-28 17:40:40 [INFO] [Modifyworld] Modifyworld enabled!
2011-12-28 17:40:40 [INFO] [Reporter] v2.8.1 - PermissionsEx support enabled.
2011-12-28 17:40:40 [INFO] [Reporter] v2.8.1 - Language: English v1 By KabOOm 356
2011-12-28 17:40:40 [INFO] [Reporter] v2.8.1 - Checking SQLite tables...
2011-12-28 17:40:40 [INFO] [Reporter] v2.8.1 - Using existing SQLite tables.
2011-12-28 17:40:40 [INFO] [Reporter] v2.8.1 - Reporter enabled.
2011-12-28 17:40:40 [INFO] [BattleNight] enabling...
2011-12-28 17:40:40 [INFO] [BattleNight] Version 0.6 enabled!
2011-12-28 17:40:40 [INFO] [BattleNight] Made by: LimeByte.  With help from: MCTSS.
2011-12-28 17:40:41 [INFO] [ChestShop] Permissions version 2.7.7 loaded.
2011-12-28 17:40:41 [INFO] [ChestShop] LWC version 4.0.2 (b576-git-06a6b355) loaded.
2011-12-28 17:40:41 [INFO] [ChestShop] OddItem version 0.8.1 loaded.
2011-12-28 17:40:41 [INFO] [ChestShop] WorldGuard version 5.4 loaded.
2011-12-28 17:40:41 [INFO] [ChestShop] version 3.31 initialized!
2011-12-28 17:40:41 [INFO] [ChestShop] iConomy 6 loaded.
2011-12-28 17:40:41 [INFO] [Citizens] NPC types loaded: guard, quester
2011-12-28 17:40:43 [INFO] [Citizens] Permissions system found (PermissionsEx v1.17)
2011-12-28 17:40:43 [INFO] [Citizens] version [devBuild-] loaded.
2011-12-28 17:40:43 [INFO] [Citizens] Economy plugin found (iConomy v6)
2011-12-28 17:40:43 [INFO] CoolStoryBro: Configuration loaded
2011-12-28 17:40:43 [INFO] CoolStoryBro: Will use permission system: Permissions v2.7.7
2011-12-28 17:40:43 [INFO] CoolStoryBro: 'Help' wasn't detected. Use '/bro help' for command info.
2011-12-28 17:40:43 [INFO] CoolStoryBro 0.4.2 enabled
2011-12-28 17:40:43 [INFO] Admin Chat: Cool plugin bro
2011-12-28 17:40:43 [INFO] CoolStoryBro: Thanks bro
2011-12-28 17:40:43 [INFO] Admin Chat: No prob bro
2011-12-28 17:40:43 [INFO] [dynmap] Using Permissions 2.7.7 for access control
2011-12-28 17:40:45 [INFO] [dynmap] Loaded 14 shaders.
2011-12-28 17:40:46 [INFO] [dynmap] Loaded 82 perspectives.
2011-12-28 17:40:46 [INFO] [dynmap] Loaded 7 lightings.
2011-12-28 17:40:46 [INFO] [dynmap] Loaded 3 maps of world 'Survival'.
2011-12-28 17:40:46 [INFO] [dynmap] Dynmap WebServer started on null:8123
2011-12-28 17:40:46 [INFO] [dynmap] version 0.28-675 is enabled
2011-12-28 17:40:46 [INFO] GoinRound v1.1 by md_5 enabled
2011-12-28 17:40:47 [INFO] [MobArena] Payment method found (iConomy version: 6)
2011-12-28 17:40:47 [INFO] [MobArena] No valid recurrent waves detected for arena 'default'. Using defaults...
2011-12-28 17:40:47 [INFO] [MobArena] v<IP_ADDRESS> enabled.
2011-12-28 17:40:47 [INFO] [NoLagg] NoLagg version 1.54 is enabled!
2011-12-28 17:40:47 [INFO] [VANISH] Now hooking into Dynmap
2011-12-28 17:40:47 [INFO] [VANISH] Version 1.8.8 enabled.
2011-12-28 17:40:48 [INFO] Done (3.213s)! For help, type "help" or "?"
2011-12-28 17:40:48 [INFO] [Citizens] Loaded 0 NPCs.
2011-12-28 17:40:48 [INFO] [Citizens] Loaded 3 quests.
2011-12-28 17:40:49 [INFO] [Glowstone Lanterns] Day in 'Survival', set lanterns

Bump!

I had that issue this morning, before even attempting to upgrade MultiVerse (hadn't installed it yet).  https://bukkit.atlassian.net/browse/BUKKIT-582 was the issue i was actually concerned about, but uninstalling Spout also fixed the server not responding issues.  I had it ALMOST loading, but not quite, and never saying done. Server wouldn't respond afterward. I would say try without spout and see if you still have that issue?

Taking away spout seems to take away the issue.


Add Resource Iteration Events Support

Add support for issue iteration events.
Route: /projects/:id/issues/:issue_iid/resource_iteration_events
Documentation: https://docs.gitlab.com/ee/api/resource_iteration_events.html
Changes

Added ResourceIterationEventsService

Added GetIssueIterationEvent and ListIssueIterationEvents functions

Hi @svanharmelen
Do you need help moving the process forward?
Feel free if you want to any changes.

Sorry, I'm a bit stressed on time lately... I'll have a look at this one tomorrow!


Use matrix for gradient.

Use the linalg::Matrix for storing gradients.
New API for the custom objective.
Custom objective for multi-class/multi-target is now required to return the correct shape.
Custom objective for Python can accept arrays with any strides. (row-major, column-major)

Close https://github.com/dmlc/xgboost/issues/9089 .

@rongou Would you like to help review this guy when time allows?

@wbo4958 Could you please help take a look into the changes in the JVM packages?


Consider creating a sequelize instance during updates:

One of my model properties implements a getter to ensure that an array field always has a value:
notes: {
      type: Sequelize.ARRAY(Sequelize.TEXT),
      get () {
          const val = this.getDataValue('notes');
          return val || [];
      }
}

However, when data is posted to the server, the data is handled in its raw format (see here). If a null value is posted, it gets saved to the db. I can protect against this with allowNull: false, but that generates an error when I'd rather an empty array be saved.
Is it possible to instantiate the data using [Model.build] (http://docs.sequelizejs.com/en/latest/api/model/#buildvalues-options-instance) before processing it:
data = this.Model.build(data, { isNewRecord: false });

Just wanted to point out that this is not 100% backwards compatible. If this were implemented today, then theoretically somebody’s code will start saving values to the database which weren’t being saved yesterday. This would apply to any field which implements a getter or setter and mutates the value.


"I/O error : buffer full" appears when reloading a specific feed

Newsboat version (copy the output of newsboat -v or the first line of git show):
Newsboat 2.29.0
System: Darwin 22.1.0 (x86_64)
Compiler: g++ Apple LLVM 14.0.0 (clang-14<IP_ADDRESS>)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libcurl: libcurl/7.84.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.47.0 (compiled with 7.79.1)
SQLite: 3.39.4 (compiled with 3.37.0)
libxml2: compiled with 2.9.4
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
browser "open %u"
color info white black
color listfocus black yellow
color listfocus_unread black yellow
color listnormal_unread yellow default
max-items 100
reload-threads 1
text-width 80

Note: I usually have reload-threads set to 10, but I can replicate it with it set to 1 as well
Steps to reproduce the issue:

Add https://youtube.com/feeds/videos.xml?channel_id=UCq7K7RspznFUw8DCufH74cg to Newsboat's urls file
Reload feed
Message I/O error : buffer full appears on the line of the highlighted feed/article, at the very left

Other info you think is relevant:
This issue only started happening today, and may be time sensitive in case the RSS feed changes

It looks like the I/O error : buffer full message is written by libxml2, when we call xmlReadMemory():
https://github.com/newsboat/newsboat/blob/89df1fdf679f14fbb75d9a251e82c83cd7bf86f8/rss/parser.cpp#L284-L288
When running with gdb, buffer.length() is 32771, which looks like something which is just above some "arbitrary" internal limit of 2^15 == 32768 bytes.
No idea if that is a limit we configure somewhere from newsboat, or if this is some default limit in libxml2 (and I'm out of time for today)

It looks like the feed got updated (due to a new video upload), and now it is no longer reproducable.
I did save the original feed: feed.txt
When I used a file:// url in newsboat, the problem was not reproducable (e.g. file:///home/dennis/projects/newsboat/densch-envs/issue-2252/feed.txt)
However, by making sure parsing happened with the same libxml2 function, the problem can be reproduced again (calling xmlReadMemory instead of xmlReadFile, patch: patch.txt)
No idea yet why this is happening.
I did find some strange behaviour (the problem goes away as soon as I remove/add a single character. It does not go away if I change a character while keeping the file length the same).
Backtrace from the place where the error is printed:

I'm glad you are able to reproduce the issue, is it possible that the issue is in libxml2? I'm not a C/C++ developer but I can see that there are newer versions of libxml2, I'm not sure whether it's worth trying to compile newsboat with a newer version and see if the issue still occurs.

is it possible that the issue is in libxml2?

It might be.
I opened an issue on the libxml2 repository: https://gitlab.gnome.org/GNOME/libxml2/-/issues/438

Thank you @dennisschagt, it looks like it was a libxml2 bug as they acknowledged and fixed it on the linked issue. I'm not sure whether to close this issue, unless there's any further testing you wish to do or if you want to wait for a new libxml2 version before closing this.
As a side note, I installed Newsboat from Homebrew which appears to use the libxml2 version supplied by macOS, so it may be worth contacting the Homebrew package maintainer to use the libxml2 version supplied by Homebrew to avoid macOS users running into this issue once a new version of libxml2 is released.

I think it is fine to close the issue here.
If you run into it again before the next libxml2 update, you can press Ctrl+L to force a full redraw of the Newsboat UI.

As a side note, I installed Newsboat from Homebrew which appears to use the libxml2 version supplied by macOS

I'm not familiar with MacOS/Homebrew and the processes they have.
If the MacOS version of libxml2 is old enough, it might not even include the commit which causes the issue :) (if I understand correctly, the issue was introduced ~5 months ago)


Move service.coffee to service.ts

Change-type: patch
Signed-off-by: Stevche Radevski<EMAIL_ADDRESS>
Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

Also let's rename the commit to something like

Convert the service model to typescript

since the CHANGELOG is the way that we communicate changes to our users :)


[Chore] Fetch dynamic

Currently we fetch guilds, users, channels in separate functions it might be interesting to create a function that could manage all three dynamically by passing the expected value as a parameter. This would avoid code duplication and simpler error handling.

// exemple
  const guild = fetchDiscord('guilds', guild.id) // return guild: Guild

I dont see the value of this. getGuildMember, gerGuildInformation etc. is a way clearer naming of the function.

Alternative:
Use the Sapphire Resolver with the resolveGuild/resolveUser/resolveChannel functions.


Incorrect filter text in table type descriptor snippet block with key

Description:
Consider the completion item type TypeName table<> key.

It disappears when I type anything beyond t.

Affected Versions:
stage-swan-lake

Closing the issue since the fix has been merged


The "minecraft:sell_potion_holding_item" factory is documented incorrectly

Hello. I'm trying to use this trade offer factory, but the trades don't appear in the villager's ui. I'm following every step of the wiki.
This is what I wrote according with the trade offer factory options in the wiki
{ "type": "minecraft:set_potion_holding_item", "price": 3, "second_count": 5, "arrow": "minecraft_arrow", "sell_count": 5, "tipped_arrow": "minecraft:tipped_arrow",  "max_uses": 12, "experience": 10 }
Note that in the example, the code seems simpler:

I tried using this way too, but nothing changed.

Thankyou for picking this up, it was an error in the docs.
The type should be minecraft:sell_potion_holding_item (sell rather than set).

Thank you!


Downgrade CorsListener priority

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
yes

Deprecations?
no

Fixed tickets
#115

Ping @sroze

Sounds reasonable not to have it as 250. Though, that change is a massive BC-break. What's the reasoning behind 31 as a value?

That's totally a BC break and will require a major version tag. 31 is just under the RouterListener, you can check about the services listening to the kernel.request event ordered by priority here: https://github.com/nelmio/NelmioCorsBundle/issues/115#issuecomment-458269534

What about 28, to be between the router listener and the next ones?

@nicolas-grekas I'm wondering why you proposed to put it behind the routerlistener. This causes nelmio to no longer handle options requests in our system because it is now handled by the routerlistener. This would mean we'd have to include the OPTIOS method in every route config (see issue #52).
I have set the priority to 38 to be just above the routerlistener and this fixes things. Are we doing something wrong or should this priority perhaps be revised?

Ask @vincentchalamon not me :)

@ChristianVermeulen The original issue is explained here with a lot of details: https://github.com/nelmio/NelmioCorsBundle/issues/115
The bug was revealed by ApiPlatform which generates an absolute url on kernel.response event dispatched by the CorsListener on OPTIONS requests (for the preflight). But as the router weren't initialized yet, the url looked like http://localhost/foo instead of https://api.example.com/foo.
2 solutions were proposed: changing the service priority, or injecting the router.request_context in the CorsListener. The first one has been prefered.
By changing the priority to 38 in your tests, I'm not sure it fixed the original issue. Could you confirm it by generating an absolute url in a kernel.response event on OPTIONS requests?:
dump($this->router->generate('foo', [], Router::ABSOLUTE_URL));

If the original bug is still present, maybe the solution would be to rollback the priority to 250 and inject the router.request_context service in the CorsListener, as explained in the issue.
I'm gonna give it a try later by the day.

@vincent-chapron I'm not familiar with the api-framework repository, perhaps you could explain why an options-request needs to generate and return an absolute URL in the first place?
As far as I know an OPTIONS request is nothing more but a request to check which methods are allowed and if the request is allowed from the given origin and should not contain any body at all. The preflight request is meant to be very fast. Now it is being slowed down by e.g. the SessionListener and the LocaleListener. Which both are not needed to return the allowed methods.

https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
https://stackoverflow.com/questions/15381105/cors-what-is-the-motivation-behind-introducing-preflight-requests

In ApiPlatform, we need to add a _link response header with an absolute url. So, the preflight-response doesn't have any body, and the client can get this url even from an OPTIONS request.

Sounds like an issue with the API platform not the cors bundle.

@WebDevTmas This issue could happen to any Symfony listener on kernel.response which wants to generate an url on an OPTIONS request.

@vincent-chapron an options request should never be returning anything else besides the allowed methods... So basically you are "hacking" the options request to do something it is not meant to do. Therefor I think this should indeed be fixed in api-platform with a dedicated listener or something but not in Nelmio...

@Seldaek perhaps you can pitch in here as well? Wondering how you look at this... Right now we can not upgrade to v2.0.0 because of this.

@ChristianVermeulen According to the OPTIONS specification (RFC 7231):

A server generating a successful response to OPTIONS SHOULD send any header fields that might indicate optional features implemented by the server

In ApiPlatform, we're adding a _link header container the url of the API documentation. As it's allowed by the spec, we're not hacking the OPTIONS request.

@vincentchalamon I see what you mean, so it is indeed not against spec to do so, my bad. I really thought the preflight was stricter then that.
How do you handle other preflight requests? Do you add the OPTIONS request to every path you have configured now? We simply can not call any OPTIONS requests any more at all now without explicitly adding this method to our endpoints because the RouterListener already picks it up before cors. (Hence issue #52).
I still think your problem should be solved with a dedicated listener specifically for your usecase with a priority higher then CorsListener.

IMO the problem is still present in this bundle, as it could be reproduced on any Symfony project.
I don't have any sandbox-project to reproduce this bug, so if you have one, could you try the following solution?

Rollback the CorsListener priority to 250 and inject the router.request_context as last argument optionally:

<!-- services.xml:L14-19-->
<service id="nelmio_cors.cors_listener" class="%nelmio_cors.cors_listener.class%">
    <argument type="service" id="event_dispatcher" />
    <argument type="service" id="nelmio_cors.options_resolver" />
    <argument type="service" id="router.request_context" on-invalid="null" />
    <tag name="kernel.event_listener" event="kernel.request" method="onKernelRequest" priority="250" />
</service>

Inject the context as argument on CorsListener:

# CorsListener.php:L42-47
/** @var RequestContext */
private $context;

public function __construct(ResolverInterface $configurationResolver, RequestContext $context = null)
{
    $this->configurationResolver = $configurationResolver;
}

# CorsListener.php:L72-76
if ('OPTIONS' === $request->getMethod()) {
    if ($this->context) {
        $this->context->fromRequest($request);
    }
    $event->setResponse($this->getPreflightResponse($request, $options));

    return;
}

@vincentchalamon how would you recommend @ChristianVermeulen to deal with the new behavior? See his questions in https://github.com/nelmio/NelmioCorsBundle/pull/125#issuecomment-553841597

@nicolas-grekas As moving the priority lower than RouterListener, I would suggest the solution explained in https://github.com/nelmio/NelmioCorsBundle/pull/125#issuecomment-553848344

Creating a dedicated listener on ApiPlatform only fixes the original issue on ApiPlatform, but not on any Symfony project with the same behavior.

IMO the reason it was a high priority before is exactly to prevent the problem @ChristianVermeulen describes, if you restricts the allowed methods on your controllers then you need to add OPTIONS everywhere otherwise the CorsListener doesn't have a chance to trigger.
If ApiPlatform needs a custom priority then maybe that's rather the special case which should do something different instead of breaking the bundle for everyone else?
So I would suggest rolling back to 250 so we bypass routing and session too as sessions aren't needed to serve CORS OPTIONS requests it's just overhead.
Then the question is what do we do to fix this in ApiPlatform, do we need to add a parameter in the bundle maybe that can be used by ApiPlatform to configure things correctly? It sounds to me like the problem will still persist in a project having ApiPlatform and non-ApiPlatform routes though, those routes will not be able to use CORS unless they allow OPTIONS requests I suppose?
So maybe ApiPlatform should run the router to figure out which links to add in a kernel.response event if the request has no _route? How about that? That sounds to me like it'd allow you to serve your _link headers without breaking anything else.

Can't we split one listener in two, one callback being called earlier and the other later? Either CorsListener or RouterListener?

CORS needs to happen fully before the routing for OPTIONS requests, as it needs to return a response without hitting the controller, and/or the router will throw a Method Not Allowed.
Then ApiPlatform it seems needs the router to have happened so they know what to add on the response. Those are kinda fundamentally incompatible requirements.

Then ApiPlatform it seems needs the router to have happened so they know what to add on the response. Those are kinda fundamentally incompatible requirements.

That was kind of my thought all along. Though allowed according to the RFC, it seems very unconventional to add custom headers to an OPTIONS-response. Hence my personal feeling this should not be a responsibility of Nelmio at all.
A possible solution for ApiFramework might be to have the router generate a relative path instead and concat it to the full host which can be retrieved by injecting something like the request-stack perhaps?

Rollback of current PR: https://github.com/nelmio/NelmioCorsBundle/pull/140
I'll open an issue on ApiPlatform to fix the original issue

@ChristianVermeulen @Seldaek the OPTIONS verb is not limited to CORS preflight requests. It's just one usage among others. For instance, the RFC defining the PATCH method states that OPTIONS should be used to retrieve the list of available patch formats for a given resource.

A server can advertise its support for the PATCH method by adding it
to the listing of allowed methods in the "Allow" OPTIONS response
header defined in HTTP/1.1.  The PATCH method MAY appear in the
"Allow" header even if the Accept-Patch header is absent, in which
case the list of allowed patch documents is not advertised.

https://tools.ietf.org/html/rfc5789#section-3
Regarding API Platform, while setting Link headers hinting the URLs of the Hydra doc (according to the W3C spec), or the one of the Mercure hub should be done for OPTIONS too. But I'm not even sure that will still face the original issue that was reported by @vincentchalamon because API Platform now delegates to the Symfony WebLink listener to generate these headers, and this listener is maybe not called anymore when NelmioCors is triggered (to be tested).
If we still face the issue, setting the Link headers for OPTIONS request (while valid, and fitting the original intent of this method) is probably useless for most users. Maybe could we just not set the headers if the method is OPTIONS, instead of trying to instantiate the router context "manually" etc.
That being said, if this problem hits API Platform, it may also hit other projects. In this case, maybe is it worth it to find a more generic solution. Also, having to implement specific logic because of NelmioCors (such as preventing to add Link headers for the OPTIONS method) in a libs that shouldn't even be aware of its existence (in term of technical responsibilities) feels like a design issue to me.

@dunglas of course OPTIONS is legal outside of the CORS context and if the bundle interferes with non-CORS OPTIONS requests we should fix that.

Release 2.0.1 which rolls back the priority, thanks everyone for the discussion here.
I am on holidays atm so no time to dig in further but if someone has time to verify that regular OPTIONS requests are not intercepted (ideally in both 1.x and 2.x versions of the bundle) that'd be great.

if the bundle interferes with non-CORS OPTIONS requests we should fix that.

There is this in the CORS-listener:
        // skip if not a CORS request
        if (!$request->headers->has('Origin') || $request->headers->get('Origin') == $request->getSchemeAndHttpHost()) {
            return;
        }

So it should already disregard anything else. So I think ApiFramework is actually working with a CORS OPTIONS (preflight) request.
Perhaps a solution could be to use compiler pass to load tagged services which can be called in the CorsListener to extend functionality when needed?

See https://github.com/api-platform/core/pull/3265#issuecomment-554304314
So actually having a special behavior for Preflight requests such as skipping other headers is a bad idea too and could lead to cache issues... It's a hard one 😄

There is no such distinction between CORS (preflight) / non-CORS OPTIONS requests: https://github.com/nelmio/NelmioCorsBundle/pull/54#issuecomment-162838133
Any distinction we try to make is arbitrary and contrary to the spec.

@teohhanhui sure, but I don't see how to achieve what you described there.. How can we only generate
a response if nothing else generated a response, as we can't really wait for everything else to be processed, unless we hook in kernel.exception and kernel.response and process CORS there by replacing routing errors if they happened or adding to existing response if there is one?

Generating a response is not the problem. The problem is that doing so bypasses RouterListener and thus breaks the request context. The solution is to un-break it. It should not cause any other problems.

Sorry but I don't understand how this solves anything. I am probably missing something.

See the linked issue #115

Ok thanks for explaining it again now this makes sense I agree that seems like a good solution although I am not sure if filling populating the request context will be enough to keep ApiPlatform working but I assume so from what @vincentchalamon wrote. If anyone feels like doing a PR that'd be great.

Maybe the "best" solution would be to not use a listener and instead use a controller with custom routes added with the config of nelmio ? (So no more method not allowed / and we still have a request context for other third party lib)

As I understand it that means we'd hijack any valid OPTIONS route though, as we can not define a route that requires a given header to be present. So it still comes with a trade-off.

It think this is possible by using the condition with a custom expression cf https://symfony.com/doc/current/routing.html#matching-expressions (but maybe there is a cleaner solution by providing a specific request matcher ?)


Secure SDLC - Defense in Depth

I would love to see a lesson within the Secure SDLC module surrounding Defense in Depth
Relevant Resources:

https://csrc.nist.gov/glossary/term/defense_in_depth
https://www.fortinet.com/resources/cyberglossary/defense-in-depth
https://en.wikipedia.org/wiki/Defense_in_depth_(computing)

PR out I forgot to link it :)


Unresolved HTTPS URL hosted using AWS Cloudfront

I have a url https://buzzinspots.com which is hosted using a Cloudfront distribution on AWS. For some unexplained reason, the Chrome dev page for physical-web shows it as UNRESOLVED. The app shows the webpage, although it is unable to load the favicon, description or title.

It appears that web page is not loading properly, even for a normal web browser. When I try to access that page from Chrome I get:
ERROR
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
Generated by cloudfront (CloudFront)
Request ID: 0WIcQtXTsr4p9OSJtXNY5knwp7XXGoYMrDOgz8GjWqPhL0ZyajoPNg==

This actually helps!!...because CloudFront cached a version of the webpage in my geography (during an earlier HTTP request) and was serving me the same during my HTTPS requests. From your location, the page load failed as there was no cached version of the webpage.
While CloudFront can allow an SSL connection to the same page, it seems that the S3 bucket (storing the web page) can be accessed ONLY through an HTTP protocol. PWS seems to be picking up information for the webpage now.
I am attaching the troubleshooting link for anybody facing the same problem:
http://stackoverflow.com/questions/22282137/cloudfront-error-when-serving-over-https-using-sni


Expired and requests

Data grids for expired loans and book requests. Currently no requests are in the DB , but the grid should work in theory.

Argh "Expected '===' and instead saw '==' " again. Will maybe fix tomorrow (╯°□°)╯︵ ┻━┻

:D


The Persistent Bug!

When testing some new files, bugs appeared again. Many issues arose in their output, such as interrupted execution, incorrect image information, and some being unable to output. 😭😭😭
Testdata : https://drive.google.com/file/d/1wICsipaR8P7VPivasDlscXQqwt2nVg6A/view?usp=sharing

Thank you for providing good test data. I've run through all the files, and fixed the problems. Made a new release now, so I recommend to pull the latest code and try again. It should work now. Please let me know if you still have problems.
Best regards,
Per Helge


Allow the server to issue commands

I would like to have a way for my server to ask the client to open a SSH tunnel on demand. This could be done by simply executing a command provided by the server. It would make sense to require enabling this feature explicitly, and only allow it when encryption is enabled.

Probably the easiest way to send command to the client is through HTTP response, but of course client needs to send a request with location data first.

Yes, that was exactly my thought. The primary purpose of Traccar of course is to send location. This gives it an ideal opportunity to receive such a command in the HTTP reply.


Besu has poor performance for tracing blocks / transactions

Description
As an user I want to be able to trace blocks and transactions reliably and quickly without OOM errors or hitting timeouts on the RPC layer so that I can get the info I need for my use-case.
Related to #3786
Acceptance Criteria

Queries return quickly
Queries do not OOM
Queries do not timeout

Actual behavior: [What actually happens]

Not sure why we are slow
Many times Besu would crash when tracing a full block
OOM errors eg #4050
Short timeout can cause issues - some blocks take 10+ min to trace

Potential Approach

Solution?: Instead of replaying each time the traces for each user request, why not saving this trace result (could generate at the time of block creation?) in a separate database of a separate module instead of saving the block and the worldstate for each block
Solution?: Separate into a different microservice
Separate the query part of Besu into a completely separate process. Queries that are asking Besu questions related to chain do not need to slow down the main flow.

NEED SCOPING / TIMING ESTIMATE

Bug mentioned in #4050, #3786