Comparison to other PJAX libs

Where does this stand compared to Turbolinks, smoothstate.js or barba.js?
Just wondering (and at the same time, being amazed)
:sunny:

+1 Would be nice to see something like a comparison table in the readme.

This is not a priority for me at this time, but if anyone would like to go through the docs of each of mentioned tools and create some comparison for others, feel free to contact me with any questions.

@gmrchk  I guess my core question would be: why use this over turbolinks or barba.js?
This looks by far the easiest to use. I'm a designer learning to dev. So easy to use a is a big plus for me. But I don't know much else from readinging the docs on any of the other libraries.

One thing that stands out at first glance, which dramatically helps in some cases is the fact that you can define multiple containers to swap content within. Barba for example, only lets you use the #barba-wrapper ID and .barba-container class. That means in order to replace other content on the page you need to add some custom code, which is tricky if you're not used to the pitfalls and workarounds in JavaScript. I'm probably going to switch over to SWUP from Barba for future projects. It has the same essential callbacks and hooks, but even things like the nomenclature is more straight forward, which I think greatly helps people not 100% comfortable in JavaScript get a head start on PJAXing their sites. Excellently executed stuff.

@23d1 Anders, can you provide some example of pages controller management with swup? I'm ditching Barbajs and looking for new pjax framework ( swup and @dogstudio/Highway are the candidates ), but the problem with both is no repos with examples ( for example simple GSAP page transition with swupjs, or page controller lifecycle and component registration ... )
If you make the switch from barba successfully some small code example ( or codesandbox.io project )  will be greatly appreciated

@jcklpe @23d1 Thanks for your input. As I'm not fully aware how the other solutions are designed, and any decision made in the development of swup were made by me, I can't subjectivelly compare simple advantages/disadvantages, so this is really helpful and will be reflected in the readme.
@panayotov If there is something unclear in the docs, please create an issue here, or on swupjs repo, if it's rather related to the JS version.
In the meanwhile, here's a basic example using swupjs/GSAP combo I digged up from one of my projects.
const animations = {
    '*': {
        in: function(next){
            document.querySelector('#fade').style.opacity = 0;
            TweenLite.to(document.querySelector('#fade'), .5, {
                opacity: 1,
                onComplete: next
            });
        },
        out: function(next){
            document.querySelector('#fade').style.opacity = 1;
            TweenLite.to(document.querySelector('#fade'), .5, {
                opacity: 0,
                onComplete: next
            });
        }
    },
}

const options = {
    debugMode: true,
    animations: animations,
    preload: true,
}

const swupjs = new CustomSwupjs(options);

I have reflected the things mentioned in this thread in some summary in the readme. Closing for now.


Form submit handler works only before first PJAX request - only once

Hi,
Thanks for amazing plugin.
Could you tell me, which direction to look, if you can reproduce it and why when, I hit any link that is processed by PJAX, then even handler for submit stops working?
I have this code:
$(document).on('submit', 'form', function(event) {
    console.log( 'Allowing PJAX forms ..', event );

    $.pjax.submit(event, '[data-dcontainer]', {
      timeout: 3000,
      type: "POST",
      fragment: "[data-container]"
    })
  })

If I hard reload the page and hit some form element on the page, then the code works fine - the data is submitted and proper results returned and content replaced. But if I do it the second time - nothing works, meaning $(document).on('submit', 'form', function(event) ..  doesn't fire again.
What could cause that? Is there a way to unbind the event and run it again for new content on ready pjax:end? I don't know yet what would be the solution?

This issue was cause by the invalid HTML generated by the server.
Sorry for disturbance.

Hi @rostovtsev
I have the same problem ...
Please tell me how do you solve this problem?

I don't remember exactly what was the issue but most issues are caused by unparseable/invalid HTML, like missing opening/closing body tag or other.

I'm a bit late, but the problem is that the form is inside the pjax container, so it's dynamically generated at every request, so the first pjax request will replace the form tag which can't be reached by jQuery. To solve this problem, bind the event outside of the pjax container:
Use: $(document).on('beforeSubmit', '#my-form', function(e) { /something/ });
Instead of: $('#my-form').on('beforeSubmit', function(e) { /something/ });


Fix negative query params

Description:
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

[x] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
[x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran pre-commit run --all-files at the end.
[x] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
our users.
[x] DEV CHANGES.

Update the documentation if this PR changes how to develop/launch on the app.
Update the README files and our wiki for any big design decisions, if relevant.
Add unit tests, docstrings, typing and comments for complex sections.

Can you tell me how this is useful for the front end? Does it change the type?

No, it does not impact the front end. I was already checking for negative pipeline_index in the front end. This only impacts the API and the Swagger UI.


508: QA Module - Low contrast on Add button

Issue:
When add buttons have focus in the QA Module (Test Data and QA Cert and TEE Data), text color changes to black, and the contrast is low
Note: Update similar to contrast on the Edit buttons

This looks to be fixed when the add buttons have the mouse over them, but the text still turns black on keyboard focus. To reporduce, use the tab key to go through the links/buttons until the Add button has keyboard focus

Text now stays white when the buttons have keyboard focus, closing ticket


[fix][broker] Allow Access to System Topic Metadata for Reader Creation Post-Namespace Deletion

Motivation
After initiating the snapshot segment function, deletion of topics necessitates the activation of readers. Furthermore, these readers should be opened and deleted as they are used, which implies that we should not pre-store readers. However, after initiating the deletion of namespaces currently, it is not allowed to obtain the metadata of partition topics or lookup, making it impossible to create readers. This results in the inability to delete namespaces.
Modification
Allow the acquisition of system topic metadata after initiating namespace deletion, thus creating readers to clean up topic data.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Since it changed the namespace deletion, I cherry-picked this PR to branch-2.11 without the transaction test.


Matrix/Vector.getitem() throws error for empty cells

A[0,0] and v[0] throws error for empty cells since Matrix/Vector_extractElement returns GrB_NO_VALUE. Would it be better to return None instead?
https://github.com/michelp/pygraphblas/blob/3f7b456e62a69e7a55e8574054132ebb22da3c37/pygraphblas/base.py#L112-L113
https://github.com/michelp/pygraphblas/blob/3f7b456e62a69e7a55e8574054132ebb22da3c37/pygraphblas/matrix.py#L913-L917
https://github.com/michelp/pygraphblas/blob/3f7b456e62a69e7a55e8574054132ebb22da3c37/pygraphblas/vector.py#L595-L598

Here's some thinking on the idea.
None seems like a natural sentinel for "NoValue".  The problem is this maybe conflicts with the notion that one day someone may need None to be a valid value.  I can't think of what that is now.  Maybe (this is a BIG maybe) in the future, python objects could go into matrix elements.  I could see that possibility now, make a UDT big enough to hold small pickles.  Now None is a valid picklable object.
So it's something to think about more, maybe get some outside opinions on the matter.

You are right that None (like an explicit 0) can also be a valid value in a matrix, but it seems to me that there should be a more convenient way to get an element or its presence.
The following comes to my mind:

A.get(i, j, default=None) which returns the value if exists, or the default value.
(i, j) in A (__contains__ method) which returns whether the element at the given position is present or not.

Either or both work for me.


View my submissions on a problem page

I would like to work on this issue, can you assign this to me?

Hey @IamAdiSri ,  feel free to send a PR :) Github does not allow non-org members to be the assignees :D

I want to work on this.
The database initially is unpopulated. there are no problems or submissions.
Can you tell me how do I add some entries

@souravgl0 : https://github.com/stopstalk/stopstalk-deployment/issues/146#issuecomment-252791224 will guide you step by step :)

How should change the frontend part to give an option for viewing My Submissions?

@souravgl0 : There is no fixed answer for that, I am free for suggestions. What I was thinking is a button on top of Recent submissions on click of which the page should show user's submissions.
Even better option is Materialized tabs - http://materializecss.com/tabs.html
The three tabs being - Friends' submissions | Global submissions | My submissions

I think tabs is a better option. I'll implement that.
Is it okay if I write the code for the switch element in html file?
It's hard to write python code for html elements as you have done in controller.

Yeah not a problem :)


Documentation is out of date

The documentation on rust-ci.org (linked to from the README) seems to have fallen out of date.
For example, http://www.rust-ci.org/dckc/rust-sqlite3/doc/sqlite3/trait.DatabaseUpdate.html seems to have been removed from the source (in a good way), and http://www.rust-ci.org/dckc/rust-sqlite3/doc/sqlite3/access/fn.open.html is documented as taking one argument but actually takes two.
This does seem like a nice API to Sqlite3, but I'm getting thrown off a bit by the outdated documentation. I'll switch to locally-generated docs for now.

yeah... known issue. #31

The docs should reflect the OBSOLETE status (#46).


Make sure that locked deps are obeyed for packaging

Make sure that Make calls rebar appropriately.
To test:
To test:

Run make package! Observe output.
Make sure that you don't see something like the below (as in previous builds)

make[1]: Entering directory `/home/whatever'
./rebar get-deps

but instead

./rebar -C rebar.config.lock get-deps

:+1: looks good; built with the specified locked deps.

This won't work for some packages because they callback into the makefile when they build.  You can fix it pretty easily, but will need to test it on all the platforms.
So checking in node_package to do due diligence, RPM/Deb/OSX are just fine, they call back into 'make rel' only (but you'll need to make sure that doesn't force a new deps requirement).
The following need to be changed to call only make rel:
https://github.com/basho/node_package/blob/develop/priv/templates/fbsd/Makefile#L156
https://github.com/basho/node_package/blob/develop/priv/templates/fbsdng/Makefile#L91
https://github.com/basho/node_package/blob/develop/priv/templates/solaris/Makefile#L29
https://github.com/basho/node_package/blob/develop/priv/templates/smartos/Makefile#L246
I'll leave testing my theory as an exercise to the reader ;)

Very cool, I was wondering if node_package would need tweaks. Thanks for the heads-up :)

No problem, that would've been a really hard bug to track down.
On Tuesday, February 24, 2015, Greg Cymbalski<EMAIL_ADDRESS>wrote:

Very cool, I was wondering if node_package would need tweaks. Thanks for
the heads-up :)
—
Reply to this email directly or view it on GitHub
https://github.com/basho/riak/pull/693#issuecomment-75882020.


🐛 Deleted Templates keep coming back

I cannot delete the default templates:
"TS React Functional Component"
"JS React Functional Component"
"Indexfile Import/Export"
On next template creation they will keep coming back. 😞

Thanks for reaching out!
I thought about removing the default templates out of the plugin completely anyway since there is no use for them as everyone has different needs for their own templates.
That should also fix your issue at the same time. Update will happen anytime soon


⚠ Bofrost.at has degraded performance

In 5c93db6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1415 ms

Resolved: Bofrost.at performance has improved in 2a2c0a3.


Validation Bug of reqiured item

I used the below schema to test in http://brutusin.org/json-forms/
{
    "type": "object",
    "properties": {"prop1": {"type": "string"}},
    "required": ["prop1"]
}

Found that prop1 cannot be validated. it don't return false if I don't fill anything.

{"required": ["x"], "type": "object", "properties": {"x": {"type": "string", "title": "x"}}}
This also don't work

https://github.com/brutusin/json-forms/blob/master/README.md#status


Update write-a-great-project-readme.md

Embed referenced image : reduce user friction.

While it's great to have the image inline, this is messing up the formatting (numbers & indentation) of the section. Not sure how to fix it, so I'll close this for now.
Thanks for this, though @NDuma! I appreciate all the changes you've suggested :)


Add a .gitbook.yaml file and change spec title to Workflow

.gitbook.yaml in the root of the repo tells gitbook where to find the spec files to sync

Heh - that was quick! Thanks!


[WIP] Implement block-based processing to allow use-case for stream-block processing.

Implements a solution for #37.
Necessarily requires a huge number of changes; however, I believe this will ultimately improve performance as well as cancel-ability of the process overall, as well.
TODOs
Implementations

[x] Blake2
[x] FarmHash
[x] MetroHash
[x] MurmurHash

Other

[ ] Test coverage
[x] Missing XML comments
[ ] Review and normalize XML comments and function parameter
[ ] Ensure cross-implementation consistency in variable names
[ ] Re-order using statements

I'm going to break out the remaining items to backlog items on the 3.0 milestone instead of holding this PR back.


Support overriding configuration for syn-argocd

Checklist

[x] The PR has a meaningful title. It will be used to auto-generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[ ] Link this PR to related issues or PRs.

I like this approach because it will allow us to test arbitrary argocd configurations without having to touch the component.


🌱 Clarify helm tweak

Summary
This PR updates the commentary at the start of scripts/add-helm-code.sh to clarify what it does.
Related issue(s)
Fixes #

/cc @ezrasilvera

Also, a few things that struck me as odd: why does this script take an optional subcommand when there is only one possibility? And why use the word "add" in the script name if it also appears as a subcommand? And what this does is not, to my mind, an "add" --- it is more of a "specialize".

/lgtm
/approve


fix: OnAccept panic

What type of PR is this?

fix
Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
OnAccept 方法在标准库下会 panic
(Optional) More detail description for this PR(en: English/zh: Chinese).

en: OnAccept panic when use standard library
zh(optional): OnAccept 方法在标准库下会 panic
Which issue(s) this PR fixes:

https://github.com/cloudwego/hertz/issues/507

LGTM


Introduce NetworkConfig on Android

Description

This PR implements the APIs introduced in #449 for Android.
Changes

Introduced NetworkModule on Android with all NetworkConfig support.
Note: it is expected that the iOS/tvOS CI builds fail, as we use an API that is introduced in the now in-progress release.
Checklist

[x] 🗒 CHANGELOG entry - already exists

testing base64 encoding/decoding: to me it looks like the body fields here are bigger than in the iOS counterpart

@123mpozzi what do you mean here by body fields are bigger?
We can't really compare as iOS and Android loads different manifests (HLS vs DASH) AND additionally Android supports video and audio segments with the network API, while iOS doesn't.

testing base64 encoding/decoding: to me it looks like the body fields here are bigger than in the iOS counterpart

@123mpozzi what do you mean here by body fields are bigger? We can't really compare as iOS and Android loads different manifests (HLS vs DASH) AND additionally Android supports video and audio segments with the network API, while iOS doesn't.

I see, then the difference makes sense 👍


Copy-Item with -ToSession throws "Incorrect function" error when the from path is an Azure File Share

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
When I attempt to copy a file from Azure File Storage to a Remote Virtual Machine using Copy-Item and the -ToSession I receive an "Incorrect function" error. The file appears to be created, but the Copy-Item still throws an error.
Environment

VM1 (source), PowerShell 7.2.8, Windows Server 2019
VM2 (destination), PowerShell 5.1, Windows Server 2019

Steps to Reproduce
On VM1 use Copy-Item to copy a file from azure storage to VM2 via a remote session as shown
$session = New-PSSession -ComputerName VM2
$fromFile = "\\storage\account\path\to\file.txt"
$toFile = "C:\temp\file.txt"
Copy-Item -Path $fromFile -Destination $toFile -ToSession $session

All Copy-Item operations without -ToSession work fine, even the azure file share. For instance, the following works
 $fromFile = "\\storage\account\path\to\file.txt"
 $toFile = "\\VM2\C$\temp\file.txt" # note using the default administrative share
 Copy-Item -Path $fromFile -Destination $toFile

It does not matter if I am using PowerShell 7 or PowerShell 5 on the sending end. Either generates the same error.
Expected behavior
The file is copied to VM2 in its C:\temp\ folder and no error is generated.

Actual behavior
The file is copied to VM2 in its C:\temp\ folder and Copy-Item throws "Incorrect function"

Error details
Copy-Item Incorrect function

Environment data
## VM1

Name                           Value
----                           -----
PSVersion                      7.2.8
PSEdition                      Core
GitCommitId                    7.2.8
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

## VM 2
Name                           Value
----                           -----
PSVersion                      5.1.17763.3770
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.3770
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Visuals
No response

Mark, it looks like #16565.
I'm not sure,it need to investigate.

@ryanewtaylor Can you paste in the actual error you are getting (Get-Error on PowerShell 7)?  It is not clear if this is the same issue as #16565.  Since the file is actually copied, it seems like this is a different issue.

@PaulHigin , I updated the description with a screenshot of the specific error.

Yes, this is the same as Issue #16565.  The error is actually bogus, and the file is copied correctly.  I'll resolve this one as duplicate and will have a fix soon.


Allow user to set maximum output video length

Currently we pack video in image->video mode at a rate of 5FPS with each video no longer than 300 seconds.
https://github.com/trek-view/gopro2gsv#video-processing
We should continue to pack videos a 5FPS but allow user to set a max_output_video_secs flag in all modes (as videos will now be turned into images to recreate video #26).
This will have a few limitations.
Limitation 1
The output video should always be at least 4 seconds long (contain 20 frames/gps points).
For image mode, this requires a change because the minimum input size of frames is currently 10, thus needs to be increased to 20 (https://github.com/trek-view/gopro2gsv#validation).
For video mode the input video length secs * fps extracts must be greater than 20.
e.g. 20*5 = 100 frames extracted = pass
e.g. 10*0.2 = 2 frames extracted = fail
Limitation 2
Currently max video length output is 300 frames (one min). If input photos is more than 300, then multiple videos will be produced: https://github.com/trek-view/gopro2gsv#video-track
As max_output_video_secs now becomes variable, this may result in more (or less) videos being created when compared to the default.
This alone is not a problem, however the logic to split videos becomes important, and will need to be slightly modified.

As such, a sequence with 720 images will create three videos; two with 300 frames (1 min each) and one with 120 frames (24 seconds long). Each video name is appended with a number based on order, e.g. timelapse_0001.mp4, timelapse_0002.mp4.

Now we should always ensure that an output video is 20 frames, 4 secs long.
As such if the final video in the timelapse should always be >= 20 frames.
If the final video is 20 frames or more, then all earlier videos are packed to max_output_video_secs, and the last one is >=20 secs.
If it is calculated the final video is less than 20 frames or more, then the second to last video (penultimate video), is shortened by 20 frames (4 seconds). These 20 frames are then used in the final video, meaning the final video is the sum of the 20 frames carried over, and the frames for the last video already calculated (which were less than 20).

sooo, after extracting as say 10fps, we still pack as 5fps?

@fqrious correct.
We should not change how videos are packed. This already works well.
In your example, that output video will be twice as long as the input video, but it is correct.

closing and tracking individual bugs seperately


Update doc of managedclustersets & managedclustersetbindings

Update doc of managedclustersets & managedclustersetbindings to align with the changes made in PRs:

https://github.com/open-cluster-management/registration/pull/66
https://github.com/open-cluster-management/registration/pull/67

/assign deads2k
/assign pmorie
/assign qiujian16

/approve
/lgtm

/retest


Editor Improvement

Editor needs some improvement.
@farzindev's TODO:

[x] Add the auto detect syntax highlighter to the Editor (Preview Mode)
[ ] Sticky toolbar for long content

We are redesigning the Editor #267 so I'll close this.


How do I remediate RCE 0-day exploit found in Apache Log4j

Remediation as per Apache here, see section "Fixed in Log4j 2.15.0"

Open source/aws-connect-vm-serverless/pom.xml
Replace "2.13.2" in line number 92 with "2.15.0" . Now, your dependency should look like:

<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-core</artifactId>
  <version>2.15.0</version>
</dependency>

Replace "1.0.13" in line number 66 with "1.0.16" . Now, your dependency should look like:

    <dependency>
      <groupId>com.amazonaws</groupId>
      <artifactId>amazon-kinesis-video-streams-parser-library</artifactId>
      <version>1.0.16</version>
    </dependency>

Follow the instructions here to deploy the fix
Test your changes in your appropriate environment

The fix has been deployed on development branch here

As a first step, we have released v1.0.9 in the Development branch: https://github.com/amazon-connect/voicemail-for-amazon-connect/commit/2bf3d4c1321e1404a403881a68c51d1d38e88ad0
This release includes:
log4j-core v2.16.0
log4j-api v2.16.0
amazon-kinesis-video-streams-parser-library v1.1.0 (which has been patched with log4j v2.16.0)
In case you have deployed this solution by using the development branch, you can clone the development branch (or pull the latest), build (using build.sh) and then deploy/update your CloudFormation stack.
Please note that, at the time of writing this comment, v1.1.0 of amazon-kinesis-video-streams-parser-library was still not available on Maven, hence you would need to clone https://github.com/aws/amazon-kinesis-video-streams-parser-library first, and run mvn clean install to build v1.1.0 of amazon-kinesis-video-streams-parser-library. Once completed, run build.sh  in voicemail-for-amazon-connect.
For customers who originally deployed via AWS Solution Guide https://docs.aws.amazon.com/solutions/latest/voicemail-for-amazon-connect/template.html, we are currently working on AWS Solution patching, and will post an update as soon as possible.

For customers who originally deployed via AWS Solution Guide https://docs.aws.amazon.com/solutions/latest/voicemail-for-amazon-connect/template.html, we are currently working on AWS Solution patching, and will post an update as soon as possible.

Has a solution to this been released yet @mcosicaws ?

Please note the most recent version bumps log4j dependencies:
https://github.com/amazon-connect/voicemail-for-amazon-connect/blob/master/CHANGELOG.md#104---2021-12-21

Closing since the log4j issue has been remediated with the latest release 1.0.4


Rock, Paper, Scissors in Python

I made a simple Rock, Paper, Scissors game in Python. This game will put you against the computer which is named as your opponent. You are named player in the output. The goal is to beat the computer.

Great job @Cholmes303!


Organize like everything

This pull request brings much organization and cleanliness to the robot code. It implements the WPILib Java Style Guide, a fork of Google's, as well as some other conventions:

Variables should be named in a way that they can be recalled and used easily. When I was implementing the constants of the roboRIO devices, I came to the conclusion that beginning them with kPort allowed one to start typing that, and then have intellisense display all of the devices. Thus, I'm seeking to extend this idea to the other variables as well. Although the variable names no longer read off as fluent names, they can be better organized and used this way. To give an example of how this was implemented, take the drive motors:

  private final WPI_TalonSRX leftTalon = new WPI_TalonSRX(1);
  private final WPI_TalonSRX rightTalon = new WPI_TalonSRX(3);
  private final WPI_VictorSPX leftVictor = new WPI_VictorSPX(2);
  private final WPI_VictorSPX rightVictor = new WPI_VictorSPX(4);

These are the names that have been used since last year. However, these don't exactly clearly identify what they are (motors) and what they do (drive). Including the binding of port numbers to constants, that code was transformed into:
  private final WPI_TalonSRX m_motorDriveFrontLeft =
      new WPI_TalonSRX(RoboRIO.kPortMotorDriveFrontLeft);
  private final WPI_TalonSRX m_motorDriveFrontRight =
      new WPI_TalonSRX(RoboRIO.kPortMotorDriveFrontRight);
  private final WPI_VictorSPX m_motorDriveBackLeft =
      new WPI_VictorSPX(RoboRIO.kPortMotorDriveBackLeft);
  private final WPI_VictorSPX m_motorDriveBackRight =
      new WPI_VictorSPX(RoboRIO.kPortMotorDriveBackRight);

Hopefully this makes sense, given that example.

Imports should be broken up into each "major" package (as they are already), and then sorted alphanumerically.

I have also imported the Eclipse formatter configuration from the WPILib styleguide ide directory, which should pretty closely match what they are looking for, and thus what I would like to go by.

Approved by @RyanStyron on Discord, pending change.


fix: override ajv dependency version to 8.14.0 wherever possible

ajv issue: https://github.com/ajv-validator/ajv/issues/2446
This also removes css-minimizer-webpack-plugin which is not used within bundler-webpack

Ajv reverted the changes from 8.1.5 in the new version 8.1.6, see: https://github.com/ajv-validator/ajv/issues/2446.


Update container base image to v1.2.2

Proposed Change

Stanza Base Image was updated today to fix an issue where the released image did not include the required packages (systemd, ca-certificates, tzdata). This PR updates the observiq-otel-collector's Dockerfile to use the latest base image.
The purpose of the base image is to ensure the required packages are pinned to recent / latest versions. In the past, we have observed the repo's giving us old versions of a package. It also cuts down on this repo's Dockerfile complexity.
Checklist

[x] Changes are tested
[x] CI has passed

Looks like cla service is currently down


Allow for volumes without host-mapping them to VirtualBox

Databases like mongo, mysql and rabbitmq get permission denied when trying to start. This has to do with the volume permissions. Being that having access to that data isn't really necessary I would remove the volume but there doesn't seem to be a way to do that either.

:+1: Thanks for reporting this!
Seems like many of the official hub repositories such as mysql or redis run the db process as a separate user, which won't have access to a mounted volume.
It seems like a quick fix here is just to remove the volume. Keep an eye out for a fix!

Alright and thanks for the quick reply

Currently, it's not possible to "disable" a volume if an image defines one. There's work in progress to allow UNSET-ing properties. See https://github.com/docker/docker/pull/8177 for more information on that.
However, volumes are used deliberately in those images for a number of reasons;

For persistent data; volumes "outlive" the lifespan of a container; if the container "dies", the data is not lost
Being able to "share" data (ie, --volumes-from), for example to use a one-off container to initialize the data/database. And another container to actually use or run the data(base)
Being able to "upgrade" a container (stop the old database container, start a new one, using --volumes-from=old-container, and remove the old container)
For performance; and this is an important reason, the layered/copy-on-write filesystem in the container has a huge performance penalty for data that's changing often, which is the case with databases.

Using a "regular" volume in stead of a bind-mounted volume could solve the permissions issue. Another solution is to chown the directory/files using the uid:gid of the database user, but if VBox shared directories are used, performance and permissions can still be tricky.

I know you can't disable a volume. But if you run a container without giving it volume information. It will create a random volume inside the docker storage directory. This can be a easy and quick fix for now especially if the user does care about having an accessible volume

@rmb938 :+1: alright! This put me on the "wrong foot";

It seems like a quick fix here is just to add the ability to disable a container's volume.

:+1 Wrong wording on my part! Sorry! I meant adding away to disable the host binding altogether.
Sent from my iPhone
On Tue, Mar 3, 2015 at 12:33 PM, Sebastiaan van Stijn
<EMAIL_ADDRESS>wrote:

@rmb938 :+1: alright! This put me on the "wrong foot";

It seems like a quick fix here is just to add the ability to disable a container's volume.

Reply to this email directly or view it on GitHub:
https://github.com/kitematic/kitematic/issues/209#issuecomment-76993212

No problem, and no harm done! my comment may be useful for people finding this issue and are new to Docker and not familiar with all aspects of volumes :smile:

@thaJeztah Hugely useful! That comment should be a blog post post somewhere :smiley:

Another example for this Problem is the elsdoerfer / thumbor container.
It automatically exposes 3 volumes, but cant write into it. This way you cant run the tool at all.

+1 this is a pretty important thing here...

for the comment above , Getting no love from the rabbit container setup ,

Cannot create directory `/var/lib/rabbitmq/mnesia': Permission denied.
permissions error occurring on many other containers , making most unuseable

Sorry for the delay in getting a patch out and thanks for all the feedback
on this. This is priority for 0.5.11
On Saturday, March 14, 2015, Paul Mortimer<EMAIL_ADDRESS>wrote:

for the comment above , Getting no love from the rabbit container
setup ,

Cannot create directory `/var/lib/rabbitmq/mnesia': Permission denied.
permissions error occurring on many other containers , making most
unuseable
—
Reply to this email directly or view it on GitHub
https://github.com/kitematic/kitematic/issues/209#issuecomment-80801832.

+1 for a fix to this. This is a petty big blocker.

+1 please fix this, i want to use mongodb

+1 please fix so I can try mqadvanced

@boot2docker ist struggeling with the same Problem :unamused:
compare: https://github.com/boot2docker/boot2docker/issues/581

+1. This is a huge blocker :(

Does Kitematic use Boot2Docker underneath or replace it?
This thread has several suggestions for fixing the issue with Boot2Docker. A promising suggestion is to use NFS.
https://github.com/boot2docker/boot2docker/issues/581

What are the solid work-arounds to date?
Was going to try the NFS solution, but not sure how to create the Kitematic-VM equivalent for:
/var/lib/boot2docker/bootlocal.sh

What's the release ETA for 0.5.11?

This is a massive blocker, I think virtualbox share should be ditched and NFS (or other) used instead (NFS even performs better).

+1 official/mysql doesn't work because of permission problems

+1 Mongodb official does not work

+1 Mongodb official or postgres official does not seem to work

Solved it for me with another image which does not export the data volume.
https://registry.hub.docker.com/u/inspirationlabs/mongodb/

ETA for 0.5.11 is Friday. Sorry again in a delay with the update

Fixed in #340. Cutting a release for 0.5.11 today

It looks like the fix just lets you disable volumes. Not sure I would call that a fix, more of a workaround. For me, the primary benefit of using kitematic was the volume sharing with the host - without it, wordpress development is not really possible.

Sorry I wasn't more specific: it's more of a fix for databases where you don't really need access to the volumes. It defaults the volumes to be 'non-host mounted' and if you click the directory icon then it mounts them and lets you remove them later.
@danielchatfield which docker image are you using? I feel like this should still work for you. E.g. only enable the wordpress volume and don't enable the mysql one.

@jeffdm I'll give it another go and report back. I seem to remember ngninx/apache getting access denied errors to the wordpress volume but I may be remembering that wrong.
Thanks :)

Current feature disabling volume as of 0.5.12 working great for me. Thanks for the fix!

Though, to be honest: turning off the volume doesn‘t actually fixt Volume Permissions at all.

Any ideas how i can work with mongodb an exported volumes? It's really frustrating....

@g12n it was a quick fix so they at least work out of the box :smiley:. It's still work in progress. That said, this is obviously not a fixed issue so I'll re-open it.
@DominicBoettger Sorry about this. The volumes won't work if you open them in Kitematic or choose/mount a Mac directory for now because of VirtualBox shared folders. Still working on a fix.

+1
Just tried kitematic for the first time and ran smack into this issue in the first 30 minutes.  This is a major blocker.

+1 can't use redis...

+1, redis persistence is broken :(

+1 RabbitMQ is broken :(

If you run a container in the latest version (0.5.13) and do not click the edit files folder icons or map any volumes in the container settings it should work.
Sorry the UX isn't the greatest - we're still working out a better solution to this.

@jeffdm That worked. Thank you!

+1 For Postgres

@jeffdm With Kitematic 0.5.18 using image Redis 2.8.19

If the volume is left unmounted => persistence is OK
If the volume is mapped to an OSX Folder (~/Kitematic/redis/data) => Persistence fails (Permissions errors)

@jeffdm Kitematic 0.5.23 with official Postgres 9.4 image. Same issue as @almathie
Not being able to have persistent database data is a huge blocker.

I had a look on the problem and as far as i understand is that the FS/Volume driver of Virtualbox is causing these problems. So there will only be the option to implement something like a network share with the MacOSX host or rewrite the Virtualbox driver. I think mapping a network share CAN also cause some problems with some filesystem operations.

I experienced the same issue. I use the official mongo image and I wanted to persist/ being able to migrate data to another container easily but I cant map the data folder :(

I'm also faced these issues with mongo and postgres. Moreover, I also tried create my own container but without success.

Thanks for the feedback everyone - seems like right now Kitematic only offers full VBox host mounted-volumes or none at all. We should have a way to enable the volume without host mapping it.

@jeffdm any update on the progress with this one?

Hi, I have a problem starting postgres, I see this cause:
initdb: could not create directory "/var/lib/postgresql/data/global": Permission denied

+1 for postgres and mariadb

+1 for mongodb

+1 for NFS

+1 RabbitMQ is broken

+1 for mongodb.  No issues with Rabbitmq in the same Kitematic instance, though.

Well this is interesting...
By defaulting the advanced options to TTY and STDIN open I was able to get all of my containers to stay running.  I deselected both and restarted without issue.  Can anyone else replicate this behavior?  I've changed no permissions or otherwise altered these containers (beyond renaming them for dev purposes).  The screenshot is useless other than to demonstrate that the containers are renamed and running.

+1 for elastic search 1.4.5, mysql 5.6.26, rabbitmq 3.5.4-management ... all of these won't start up if the volume has been enabled.
Redis 3.0.3, though, seems to be able to run with an enabled volume ...

+1

Is there a work around?

My work around : install Linux on your laptop and use terminal ;)

+1 kind of makes this exercise futile

+1 also ;)

+1 blocks rabbitmq, will be happy to see workaround.

That issue existing for quite long time, basically preventing to use docker-compose for devepment environments. It seems to me, that it's not related to Kitematic itself, but rather docker (docker-machine) problem.
Are there any connected issues?

+1
I am using latest version in Kitematic. After we are setting "Enable Volumes", we are getting the following the errors.
Postgres
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... initdb: could not create directory "/var/lib/postgresql/data/global": Permission denied
initdb: removing contents of data directory "/var/lib/postgresql/data"
The files belonging to this database system will be owned by user "postgres".

Mysql
Initializing database
2015-12-28T01:24:37.592834Z 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2015-12-28T01:24:37.644847Z 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2015-12-28T01:24:37.645642Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2015-12-28T01:24:37.646569Z 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2015-12-28T01:24:37.647002Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2015-12-28T01:24:37.647438Z 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
2015-12-28T01:24:37.647820Z 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2015-12-28T01:24:37.648064Z 0 [ERROR] InnoDB: InnoDB Database creation was aborted with error Cannot open a file. You may need to delete the ibdata1 file before trying to start up again.
2015-12-28T01:24:38.252569Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2015-12-28T01:24:38.252688Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-12-28T01:24:38.253262Z 0 [ERROR] Failed to initialize plugins.
2015-12-28T01:24:38.253551Z 0 [ERROR] Aborting

Mongo
2015-12-28T01:26:54.678+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a484d3b2a3e0
2015-12-28T01:26:54.680+0000 I CONTROL  [initandlisten] db version v3.2.0
2015-12-28T01:26:54.682+0000 I CONTROL  [initandlisten] git version: 45d947729a0315accb6d4f15a6b06be6d9c19fe7
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten] modules: none
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten] build environment:
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten]     distmod: debian71
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten]     distarch: x86_64
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2015-12-28T01:26:54.683+0000 I CONTROL  [initandlisten] options: {}
2015-12-28T01:26:54.702+0000 I STORAGE  [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
2015-12-28T01:26:54.702+0000 I CONTROL  [initandlisten] dbexit:  rc: 100

is there any ETA on this issue?, this is very simple and serious hassle for average dev to use kinematic.
@jeffdm @elesant

Really big issue, you just can't use Mac as host with dir shared with container (really useful for development).

+1, I can't really use this with mariadb without persisting the data...

@eturino I understand the issue at hand, but you should be able to create a data container and simply map mariadb to it - You can copy your data to the container and back it up pretty easily as well.
If you need a new mariadb container, just scale it and allow it to grab the volume from the above data container.

+1

+1 Struggling a lot with mysql on docker :( due to this.
Any work around pls?

its funny one solution to solve this issue is get back to one vm image and dont waste time for trying change this behavior ;)

ya... this is a joke.  done wasting hours with docker... 5 minutes with vmware and im good to go...

@Lenzcrafter I'd be interested in knowing how 5 minutes with vmware and im good to go solved your issue - Could you clarify?
Also there's an on-going discussion regarding mounting and its complexity here: https://github.com/docker/kitematic/pull/1202

I'm stuck with Postgres for 2 days, is there any workaround that can work with both development (OSX) and production (Linux ubuntu) machines?

@blazeeboy You can setup a data volume and have Postgres write to it. The same volume can be used on a production machine as well.

@FrenchBen  How can we do that? because as for now the official Postgres image doesn't boot and produces this output
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
initdb: could not create directory "/var/lib/postgresql/data/pg_xlog": Permission denied
initdb: removing contents of data directory "/var/lib/postgresql/data"

@blazeeboy Something like this would work:
# Create a volume for all of the Postgres Data
docker run -d --name pgsql-volume -v /var/lib/postgresql/data tianon/true
# Create your postgres container using the volume created above
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword --volumes-from pgsql-volume -d postgres

If you need to backup/restore/migrate your data, follow the following:
https://docs.docker.com/engine/userguide/containers/dockervolumes/#backup-restore-or-migrate-data-volumes

Instead of a data-only container, you can also use a named volume;
# create a volume for the postgres data
docker volume create --name postgres-data

# and use that volume when starting the container
docker run --name some-postgres -v postgres-data:/var/lib/postgresql/data/ -e POSTGRES_PASSWORD=mysecretpassword -d postgres

I've faced this problem but fix it by restart the machine on Virtual-Box manually
Note: I've upgraded the Virtual-Box to 5.0.18, haven't try with the version shipped with Kitematic

For mongodb, upgrading to the Docker Beta (1.13.0-beta39 (15140)) fixed the issues I was having and others have reported above. Docker Beta for Mac


Use arbitrary types in when clauses (including type aliases and unions)

Right now Sorbet only updates its knowledge within a when clause when the value mentioned in the when is a class (or class alias). A potential feature would be to extend Sorbet to support putting arbitrary types in the when clause. Specifically, any change that attempts to support this should at least support this use case:
Input
→ View on sorbet.run
# typed: true
extend T::Sig

class A; end
class B; end
class C; end
class D; end

A_OR_B = T.type_alias(T.any(A, B))

sig {params(x: T.any(A_OR_B, C, D)).void}
def foo(x)
  case x
  when A_OR_B
    T.reveal_type(x) # wrong!
  when C
    T.reveal_type(x) # good
  when D
    T.reveal_type(x) # good
  end
end

Observed output
editor.rb:19: Revealed type: D https://srb.help/7014
    19 |    T.reveal_type(x) # good
            ^^^^^^^^^^^^^^^^
  From:
    editor.rb:12:
    12 |def foo(x)
                ^
    editor.rb:16:
    16 |  when C
               ^
    editor.rb:18:
    18 |  when D
               ^

editor.rb:17: Revealed type: C https://srb.help/7014
    17 |    T.reveal_type(x) # good
            ^^^^^^^^^^^^^^^^
  From:
    editor.rb:12:
    12 |def foo(x)
                ^
    editor.rb:16:
    16 |  when C
               ^

editor.rb:15: Revealed type: T.any(A, B, C, D) https://srb.help/7014
    15 |    T.reveal_type(x) # wrong!
            ^^^^^^^^^^^^^^^^
  From:
    editor.rb:12:
    12 |def foo(x)
                ^
Errors: 3

Expected behavior
The revealed type of x within the when clause guarded by A_OR_B should be T.any(A, B).
This should also be valid, runnable Ruby code, so the === on runtime types should be implemented properly.

The PR #969 was closed because it did not consider all the consequences of supporting this properly. I've updated the PR description to more accurately reflect what we'd like to implement when considering this feature.

It's been more than a year that feature was discussed. It seems like it ended in a Slack discussion.
Any follow up?


Test on 3.5 (and 2.7) only

E.g. 3.5 tested at:
https://github.com/jupyter/jupyter_console
[ci skip]

Needs a rebase after #54.

@Keno "Needs a rebase after #54."
I'm new to Git[Hub], not sure what to do (and when).

Are you sure a "a rebase after #54" is needed?
After: git rebase master
I got no directions.
[I changed "[skip ci]" to "[ci skip]" (if it matters), but I guess that is to late.. as that seemed to be the real problem, appveyor, and travis-cl bogus for Doc changes..]
I'm still learning git, and have been doing only GitHub up to now, as seemed ok for Doc changes, but tried git clone
etc. and then your suggestion, seemed ok up to (but shouldn't need to succeed as rebase did nothing?):
~/git/pyjulia$ git push PallHaraldsson +patch-3
fatal: 'PallHaraldsson' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

@PallHaraldsson, the "This branch has conflicts that must be resolved" means that it can't be merged until you resolve the conflicts.  The cleanest way to do this is with a rebase.
My example git push command assumed that you had set up PallHaraldsson as a git remote (with git remote add PallHaraldsson ....url of your git fork....).  Otherwise you have to specify the URL of your git fork each time.

@ stevengj You've been helpful, this is something I needed to figure out eventually, still not sure helpful here; "means that it can't be merged until you resolve the conflicts. The cleanest way to do this is with a rebase." as I got:
..
~/git/pyjulia$ git rebase master
Current branch patch-3 is up to date.
~/git/pyjulia$ git push PallHaraldsson +patch-3
Username for 'https://github.com': PallHaraldsson
Password for<EMAIL_ADDRESS>Everything up-to-date
[Maybe I was successful, just not realizing it; the checks need to run again?]

I may or may not be stuck now.. I figured out -i switch to rebase, it works. Tried [skip ci], [ci skip], on separate line and not.. Can't even see the current AppVeyor error, but the other one disappeared..
I'm going on a holiday, may not be able to fix before I leave..

This branch still have conflicts. Maybe it will be easier for you to close this PR and add another one using GitHub web interface? The change is small after all, so typing it in a new PR might save some time.

"This branch still has conflicts. Maybe it will be easier for you to close this PR", yes (thought about it all along, and eventually) did:
https://github.com/JuliaInterop/pyjulia/pull/59
[Not even sure I have the privilege to close this (or my other) PR, please do.]
[I guess travis-file was the conflict, didn't realize it seems to have changed, so not sure what the problem was. By now, knowing that, I could probably have figured out how to fix this PR.]


Download Word Embeddings

Is it possible to download the trained word embeddings? I would like to explore them in detail with the embedding explorer.

I think I got stuck in the same problem, I cannot find definition_SG.txt and enwiki_full.txt. Where is the best place to get them?


Can I retreive the AUC from the xgboost train object

Hi,
This is more of a question and not a bug and maybe a feature request.
xgboost prints the train and valid auc's / rmse's etc on the screen. Can we have a way to retrieve the auc or rmse from the train object? Currently  the print/summary dosent have this. Also the object has only raw data and the call. It does not have the metrics. Can you pls add this feature.
clf = xgb.train(
data 				= dtrain,
nround				=300,
nthread 			= 5,
objective           = "binary:logistic",
booster				= "gbtree",
eval_metric 		= "auc",
max_depth           = 10, #changed from default of 8
eta 				= peta,
colsample_bytree 	= pcolsample_bytree,
subsample			= psubsample,
min_child_weight	= pmin_child_weight,
verbose             = 1,  #1
early.stop.round    = 150
)
Thanks,
Manish

You can put the things you want to retrieve in watchlist. We currently have evals_result but somehow forgot to return it. Not sure about the best way to do it yet in order to be backward compatible. Feel free to submit a PR or work on a forked copy to get those info just to achieve your own purposes up quickly.

Thanks for taking this as a feature request.
Note -  I am using R and not Python. In R also this feature is not available.

Okay I see. If it's Python, you can actually use the sklearn wrapper and there's a function eval_result you can use to get those values. https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/sklearn.py#L381


wrong icon

Hello,
I am using the latest version 1.6.8, java 1.8.11 on Mac. I got the zip version and run bash bin/asciidocfx.
The errors below appears:
~/D/asciidocfx-1.6.8  bash bin/asciidocfx                                 Mon Aug 27 10:38:54 2018
#   #      #                #####  #
#    ####   ###          ####   ###    ###   #       #
#  ###    #     #   #  #   #  #   #  #      ####
###  #     #   #  #   #  #   #  #      #       #
#  ####    ###  #   #   ####   ###    ###   #      #
============================================================
:: Asciidoc FX ::     (v1.6.8)
Website: http://asciidocfx.com
[Fatal Error] autoidx-kimber.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] l10n.dtd:1:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] entities.ent:16:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] targetdatabase.dtd:4:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] common.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] l10n.xml:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
[Fatal Error] autoidx-kosek.xsl:2:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
However, the errors I found is as screenshot below: the icons of [TIP], etc are not correct.
Do you guys know how to fix it?

Did you try dmg ?

The dmg version works okay. So what are the possible problems here? the zip version work fine on the other Mac computer.

I think it should find graphviz. I additionally will check the zipped version.


Pop!_OS drivers not executing under Ubuntu install [GPD Win Max]

New to linux, so forgive me for this spotty info,
As far as I understand it, popos doesn't use the same apps that ubuntu does with regards to edid files, or grub. I believe kernelstub has something to do with it, but in any event I've been unable to get the touchscreen working correctly using your ubuntu_winmax.sh script. I have tried after upgrading from the ubuntu mate 20.04 image with all the win max drivers. I have tried prior using the same ideas as your script, just not automated in a fresh install of popos, with no resolution to the issues.
Currently with my upgraded system from mate, I have the screen resolution working properly, as the rest of the drivers, save for the touchscreen input calibration. I can find the info using xinput in terminal and it lists my touchscreen as id=14 with the driver as "/dev/input/event6" but from I've understanding is that if I were somehow able to configure event6, it would not be the solution I was looking for. With popos being as new as it is, getting info about it isn't pulling up much so I was hoping you'd be able to shed some light on the situation.

Have you tried it on 22.04?

With recent releases, is this working for you again?

I have sold that device off some time back, and have no means to verify.


add example laser scan messages to repo

Could you please add to the repo the laser scan messages from which you created that example gif?  If you do not have those messages, then can you please add any laser scan message that produces a nice set of walls given the default parameters?  I am playing with your code, and having known working laser scan messages would greatly help debug issues that I am encountering.  Thanks!

Do you mean a bag file? Unfortunately I do not have access to any LaserScan data. I created this package while I was a graduate student, and the data is owned by (and is only located at) the university. I currently do not have access to a sensor that produces LaserScan message. I'll leave this ticket open in case someone else has some usable data and is generous enough to provide it.

Do you mean a bag file? Unfortunately I do not have access to any
LaserScan data. I created this package while I was a graduate student,
and the data is owned by (and is only located at) the university. I
currently do not have access to a sensor that produces LaserScan
message. I'll leave this ticket open in case someone else has some
usable data and is generous enough to provide it.

Ok, thanks for checking!  Meanwhile, I've gotten your algorithm
successfully running...


Model constructor cleanup

This PR consolidates the tracers and tracer_fields kwargs to IncompressibleModel, and the timestepper and timestepper_method kwargs to IncompressibleModel.
Resolves #647.

Thanks for cleaning this up!


More azurecore cleanup

Continuing cleanup to fix no-unsafe-assignment issues in azurecore. Should be pretty straightforward - but I did add another helper function for parsing PromptFailedResults to consolidate logic and refactored the NetworkUtils module to just have the helper functions be exported directly.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 24 (20.83%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 41.654%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/azurecore/src/azureResource/utils.ts
0
1
0.0%

extensions/azurecore/src/account-provider/auths/httpClient.ts
1
3
33.33%

extensions/azurecore/src/account-provider/auths/azureAuth.ts
1
9
11.11%

extensions/azurecore/src/account-provider/auths/networkUtils.ts
3
11
27.27%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
30348

Relevant Lines:
67453

💛  - Coveralls


How to startup the system from the SD card on C910?

Hello.
I am working with the Fullmask validation board of C910. And I want to make the system can boot from the SD card.
What I do?

build the image from buildroot successfully,I got boot.ext4 and rootfs.ext2.
create two partition in my sd card with command fdisk. Here is the partition table:

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1         2048   122880   120833   59M 83 Linux
/dev/sdb2<PHONE_NUMBER>6975 15362048  7.3G 83 Linux

write the boot.ext4 to /dev/sdb1 and rootfs.ext2 to /dev/sdb2
change the BOOT SWITCH to boot from SD/SDIO0(X101).
insert the SD card and reboot.

and then system can not boot, here is the error log:
brom_ver 7
[APP][E] protocol_connect failed, exit.
[APP][E] mtdt read e.
[APP][E] mtdt read e.
[APP][E] sd card boot error.

Is there anything I need to correct?
I would appreciate that if someone can help me out.

Sorry, I am using the wrong project. Closing the issue.


New command: m365 graph changelog list

Usage
m365 graph changelog list [options]
Description
Gets an overview of specific API-level changes in Microsoft Graph v1.0 and beta
Options

Option
Description

-v, --versions [versions]
Comma-separated list of Versions to show changes for. Beta, v1.0. Default v1.0

-c, --changeType [changeType]
Comma-separated list of change types to show changes for. Addition, Change, Deletion.  When no changeType is selected all changes are returned.

-s, --services [services]
Comma-separated list of services to show changes for. Users,Groups,Applications,Calendar,Change notifications,Cloud communications,Compliance,Cross-device experiences,Customer Booking,Devices and apps,Education,Files,Financials,Identity and access,Mail,Notes,Notifications,People and workplace intelligence,Personal contacts,Reports,Search,Security,Sites and lists,Taxonomy,Teamwork,To do tasks,Workbooks and charts.  When no service is selected all changes are returned.

--startDate [startDate]
The startdate used to query for changes. Supported date format is YYYY-MM-DD. When no date is specified all changes are returned.

--endDate [endDate]
The enddate used to query for changes. Supported date format is YYYY-MM-DD. When no date is specified all changes are returned.

Option
Description

-o, --option <option>
option

-o, --output [output]
Output type. json,text. Default text

--verbose
Runs command with verbose logging

--debug
Runs command with debug logging

Additional Information

See https://developer.microsoft.com/en-us/graph/changelog/ for changes (use RSS to get data).
The V1.0 endpoint is marked as 'prd' in the dataset

@pnp/cli-for-microsoft-365-maintainers did I mis anything?

@pnp/cli-for-microsoft-365-maintainers did I mis anything?

Looks good to me, I do have one comment though, are we to assume that if we choose a service such as Identity and access that includes all of the sub services, such as Identity and sign-in, Governance and so on?
It may be beneficial to include the sub services as options as valid choices to help narrow down the response further.

Looks good to me, I do have one comment though, are we to assume that if we choose a service such as Identity and access that includes all of the sub services, such as Identity and sign-in, Governance and so on?
It may be beneficial to include the sub services as options as valid choices to help narrow down the response further.

Very nice! Also, let's add remarks about the default behavior for the changeType, service and date options. I'd assume that if no value is specified, you get all available data.

Very nice! Also, let's add remarks about the default behavior for the changeType, service and date options. I'd assume that if no value is specified, you get all available data.

Also, I'd suggest removing -d from startDate because it's ambiguous between the start and end date.

Also, I'd suggest removing -d from startDate because it's ambiguous between the start and end date.

@garrytrinder agree on the option to use the subservices, however they seem to be not reflected in the RSS response . The response always returns <title>Reports</title> even though the filter is Microsoft usage reports (see: Rss source). So that might end up being confusing; you are using a subfilter but the response will not return that as a header. It looks like there is logic in the page itself to do that and its not coming from the response.

@garrytrinder agree on the option to use the subservices, however they seem to be not reflected in the RSS response . The response always returns <title>Reports</title> even though the filter is Microsoft usage reports (see: Rss source). So that might end up being confusing; you are using a subfilter but the response will not return that as a header. It looks like there is logic in the page itself to do that and its not coming from the response.

@appieschot does that mean that we'd need to retrieve the parent category and then apply filtering ourselves? Sounds like something we could do assuming it makes sense. We could also start with just the top categories and add second level later if there is any interest in it.

@appieschot does that mean that we'd need to retrieve the parent category and then apply filtering ourselves? Sounds like something we could do assuming it makes sense. We could also start with just the top categories and add second level later if there is any interest in it.

@waldekmastykarz the filter works as it is passed in the URL, so we could add the filter option. The only results is that if you filter by Microsoft usage reports the response would say results for Reports unless we implement custom logic to override that (something I rather not do).

@waldekmastykarz the filter works as it is passed in the URL, so we could add the filter option. The only results is that if you filter by Microsoft usage reports the response would say results for Reports unless we implement custom logic to override that (something I rather not do).

I don't we will show the title anywhere, rather just the results themselves, right?

I don't we will show the title anywhere, rather just the results themselves, right?

I can start working on this one 😄

Awesome @Jwaegebaert! We appreciate your help 👏


pdfjs Viewer - hiding a page

Hi,
Is there an API way to hide a page or several pages within a pdf document using pdfjs viewer? For example, suppose Iv'e loaded in the pdfjs Viewer a 15 pages pdf document - is there a command to hide pages 2,3 and 6 of this document?
Trying to hide page 4 for example in http://mozilla.github.io/pdf.js/web/viewer.html by using document.getElementById("pageContainer4").style.display = "none" seems to be buggy as when I scroll fast down and up - page 3 is only white and stuck with the spinner.
Thanks,
Yaniv

No, there is no an API with such functionality. The viewer can be modified, and it looks like you are doing the right thing. The use case you are mentioning in out of scope of this project, so there is no plans to add it to the demo viewer. Closing issue as answered.

using document.getElementById("pageContainer4").style.display = "none" seems to be buggy as when I scroll fast down and up - page 3 is only white and stuck with the spinner.

WFM


check logical definition of investigation agent role

Just discussed with @zhengj2007 and @cstoeckert
Investigation Agent Role is defined as
role and (inheres in some bearer of some concretizes some objective_achieved_by some part of some investigation)
This seems to say that an Investigation Agent Role role would inhere in a person, who bears some quality that concertizes an objective.

This is a bit confusing, but I think it is a correct application of BFO theory for generically and specifically dependent continuants.


feat: added outline for module 2 and 3 long form docs

work in progress
to get early feedback on the outline of documents and some comments

For some reason I can't seem to find the comments you had made previously! You might try making them again under the "files changed" tab.

For some reason I can't seem to find the comments you had made previously! You might try making them again under the "files changed" tab.

I don't remember the previous comments atm but will make sure to put new comments as I add content


Parse Boolean NOT expression?

What is your question?
I want to parse something like "NOT A". Then consider following code:
from lark import Lark, Transformer, v_args, Token, Tree
from operator import or_, and_, not_

calc_grammar = f"""
    ?start: negation
    ?negation: "NOT" word | word
    word: LETTER
    LETTER: /[A-Z]+/
    %import common.WS_INLINE
    %ignore WS_INLINE
"""

calc_parser = Lark(calc_grammar, parser="lalr")
calc = calc_parser.parse

print(calc("NOT ABC"))

I would get:
Tree('word', [Token('LETTER', 'ABC')])

One can see that "NOT" or "negation" doesn't apper in output. It looks like that it's ignored. I expect something like:
Tree('negation', [Tree('word', [Token('LETTER', 'ABC')])])

After some searching, I find that I have to write:
 ?negation: "NOT" word -> negation

That's one solution. You can also define the NOT terminal, or use the ! rule prefix.


Rename taxon base path column

Trello

Example

@alecgibson I have amended. It is a bit confusing having both but hopefully this is an ok compromise?


Feature/issue 13- HomeScreen - Update UI

Prerequisite

[x] Self-review :monocle_face:
[x] No Crashes ☠

Root cause

//[Feature] HomeScreen/ Update UI #13

Solution

// use MVVM

Impact

// Home Screen

Screenshots (Optional)

// Capture affected screen

          2 Warnings

:warning:
Big PR

:warning:
MovieApp/Screens/Details/DetailsViewController.swift#L14 - Override methods which only call super can be removed

  Generated by :no_entry_sign: Danger


Allow building for Windows with MinGW-w64/GCC

Your website says building for Windows requires Visual Studio.
I have just succeeded doing a native Windows build with MinGW-w64 and GCC (from https://winlibs.com/).
Note however that some changes were needed to accomplish this.
My recipe is published here:
https://github.com/brechtsanders/winlibs_recipes/blob/main/recipes/nappgui.winlib
Feel free to incorporate these changes as needed to support Windows without Microsoft tools.

Hi @brechtsanders!
Yes, the MicGW still is not supported by NAppGUI.
Thanks for reporting.

The support for MinGW has been added in NAppGUI 1.4.2.
Doc: https://nappgui.com/en/guide/win_mac_linux.html#h4
Commit: https://github.com/frang75/nappgui_src/commit/5f638074231f028a5eb8a07c2f0d232edad408c6


ObservableFixedSizedRingBuffer rare ArgumentOutOfRange exception

I have managed to produce a seemingly rare exception using the ObservableFixedSizedRingBuffer.
I do not understand why it occurs, but I have produced a minimal reproduction of the bug below.
It involves creating an ISynchronizedView with a filter over the ObservableFixedSizedRingBuffer, and then creating an INotifyCollectionChangedSynchronizedViewList from the view, which is then discarded without disposing.
using ObservableCollections;

namespace Sandbox;

internal class Program
{
    static void Main(string[] args)
    {
        var buffer = new ObservableFixedSizeRingBuffer<int>(5);

        var view = buffer.CreateView(value => value);
        view.AttachFilter(value => value % 2 == 1);

        {
            // INotifyCollectionChangedSynchronizedViewList created from ISynchronizedView with a filter.
            var collection = view.ToNotifyCollectionChanged();

            // Not disposed here.
        }

        buffer.AddFirst(1);
        buffer.AddFirst(1);
        buffer.AddFirst(2);
        buffer.AddFirst(3);
        buffer.AddFirst(5);
        buffer.AddFirst(8); // Argument out of range
        buffer.AddFirst(13);
    }
}

I understand disposal is the correct usage of the collection, however, the bug was rather vague and took a few hours to track down, the least that could happen is improve the ergonomics around the exception to help the user fix it on their end.

Thank you, that's a bug where the index gets out of sync when filtered.
It was handled in ObservableList, but there was an implementation oversight.
I'll fix it.

Oh, no, it wasn't working correctly even with ObservableList.
I'll have to fix it.
Thanks!

I've released v3.0.5, include fixed it.


Add past class

Is there the possibility of adding past class to old dates?
At now, there are as classes day, today, weekend and new but no one for past dates or dates disabled by "disabled dates".

(At now, an "old" class is added only for past months, not days)

+1


[Bug] dispatchAction select with dataIndex, but some nodes that are not in the array but have the same name as a node in the array are selected

Version
5.3.3
Link to Minimal Reproduction
https://codesandbox.io/s/les-miserables-forked-xz43i6?file=/index.js
Steps to Reproduce
See detail in the Minimal Reproduction.

The graph have simple nodes and links, root -> a -> b, root -> c -> a. There two nodes with same name a but different id.
Minimal Reproduction will auto select nodes a, c, root in 3 seconds after the chart finished.

Current Behavior
When select node a with id 4, the other node a with id 1 is selected.
Expected Behavior
If I use dispatchAction funciton with name attribute [a] or a, selected all nodes named a is right. But when I use the function with dataIndex attribute, it should only select the specific node.
Environment
- OS: Mac OS X 10_15_7
- Browser: Chrome/<IP_ADDRESS>
- Framework: doesn't matter.

Any additional comments?
No response

In case the link expires.
var dom = document.getElementById("chart-container");
var myChart = echarts.init(dom, null, {
  renderer: "canvas",
  useDirtyRect: false
});
var option = {
  animationDuration: 1500,
  animationEasingUpdate: "quinticInOut",
  series: [
    {
      name: "simple force",
      type: "graph",
      layout: "force",
      data: [
        { id: 0, name: "root", symbolSize: 30 },
        { id: 1, name: "a" },
        { id: 2, name: "b" },
        { id: 3, name: "c" },
        { id: 4, name: "a" }
      ],
      links: [
        { source: 0, target: 1 },
        { source: 1, target: 2 },
        { source: 0, target: 3 },
        { source: 3, target: 4 }
      ],
      label: {
        show: true,
        position: "right",
        formatter: "{b}"
      },
      selectedMode: "multiple",
      select: {
        disabled: false,
        itemStyle: {
          color: "red"
        }
      }
    }
  ]
};
myChart.setOption(option);

if (option && typeof option === "object") {
  myChart.setOption(option);
}

window.addEventListener("resize", myChart.resize);

myChart.on("finished", () => {
  setTimeout(() => {
    myChart.dispatchAction({
      type: "select",
      dataIndex: [4, 3, 0]
    });
  }, 3000);
});

I think this is not a bug. In Apache ECharts, series/data with the same name means intentionally set them to be the same group. For example, if you set the name to be the same for a pie series, the data with the same name share the same color and they all dispears on legend toggling. So I think disapactAction should work similarly and this is by design.

I am agree with your point about series. But what I propose is that in the same series, 3 points form an array in different order, and the final highlighting effect is inconsistent. I don't think this should be right.
Please see my example.

This means you set name as the key of node. Ok, I can set label {c}, and the name of node not duplicate.

I have a suggestion:

Modify the document in image 2 above, 数据项名称 -> 数据项名称（键值）. It is easy to misunderstand that this value is label, not a key.

Besides this, I think my question is still a bug. If I use dataName in dispatchAction function, you select nodes by name is right. But I use dataIndex in the funciton, the result should be the node with specific index is highlight, not get the node with index then get the same name nodes.

I think this is not a bug. In Apache ECharts, series/data with the same name means intentionally set them to be the same group. For example, if you set the name to be the same for a pie series, the data with the same name share the same color and they all dispears on legend toggling. So I think disapactAction should work similarly and this is by design.

I have another similar question about the same 'name'
As follows
When there are two connect "group" line charts, I only click to close the legend of one line chart with the same name, and the legend of the other line chart is also closed;
A example ：https://codepen.io/hongdeyuan/pen/yLjXPXv
As shown in the picture：

**Whether it is possible to connect only the hover event, but not the click event**
Therefore, I think whether Apache ECharts can provide a "group" for each mouse event separately, so that users can control mouse events that need to be connect “group” in a more granular way;

var dom = document.getElementById('chart-container');
var dom1 = document.getElementById('chart-container1');

var myChart = echarts.init(dom, null, {
  renderer: 'canvas',
  useDirtyRect: false
});
var myChart1 = echarts.init(dom1, null, {
  renderer: 'canvas',
  useDirtyRect: false
});
var app = {};

var option;

option = {
  title: {
    text: 'Stacked Area Chart'
  },
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'cross',
      label: {
        backgroundColor: '#6a7985'
      }
    }
  },
  legend: {
    data: ['Email', 'Union Ads', 'Video Ads', 'Direct', 'Search Engine']
  },
  toolbox: {
    feature: {
      saveAsImage: {}
    }
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: [
    {
      type: 'category',
      boundaryGap: false,
      data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    }
  ],
  yAxis: [
    {
      type: 'value'
    }
  ],
  series: [
    {
      name: 'Email',
      type: 'line',
      stack: 'Total',
      areaStyle: {},
      emphasis: {
        focus: 'series'
      },
      data: [120, 132, 101, 134, 90, 230, 210]
    },
    {
      name: 'Union Ads',
      type: 'line',
      stack: 'Total',
      areaStyle: {},
      emphasis: {
        focus: 'series'
      },
      data: [220, 182, 191, 234, 290, 330, 310]
    },
    {
      name: 'Video Ads',
      type: 'line',
      stack: 'Total',
      areaStyle: {},
      emphasis: {
        focus: 'series'
      },
      data: [150, 232, 201, 154, 190, 330, 410]
    },
    {
      name: 'Direct',
      type: 'line',
      stack: 'Total',
      areaStyle: {},
      emphasis: {
        focus: 'series'
      },
      data: [320, 332, 301, 334, 390, 330, 320]
    },
    {
      name: 'Search Engine',
      type: 'line',
      stack: 'Total',
      label: {
        show: true,
        position: 'top'
      },
      areaStyle: {},
      emphasis: {
        focus: 'series'
      },
      data: [820, 932, 901, 934, 1290, 1330, 1320]
    }
  ]
};

if (option && typeof option === 'object') {
  myChart.setOption(option);
}
if (option && typeof option === 'object') {
  myChart1.setOption(option);
}

myChart.group = 'group1';
myChart1.group = 'group1';
echarts.connect('group1');

window.addEventListener('resize', myChart.resize);

window.addEventListener('resize', myChart1.resize);


Reformat on atmospheres

This pull request reformats the actual poliastro.atmosphere module by including the following features:

Parameters for each atmosphere have been stored in atmosphere/data/*.dat by making use of Astropy capabilities, which translates into a cleaner implementation in each *.py file.

Pure atmospheric models have been partially or fully implemented by making use of outdated official paper constants.

Values are easier to modify and read since each line of the data files has the same format as official tables.

I am opening this as a draft since I still need to:

[x] :warning: Modify setup.cfg and to install *.dat files. :warning:
[x] More tests, so coverage is not decreased.
[x] More documentation on atmospheres.
[ ] Test if this solves #694

:clap: Merged!


BlockId removal: refactor: HeaderBackend::header

BlockId removal: refactor: HeaderBackend::header
It changes the arguments of:

HeaderBackend::header,
Client::header,
PeersClient::header
ChainApi::block_header

methods from: BlockId<Block> to: Block::Hash
This PR is part of BlockId::Number refactoring analysis (https://github.com/paritytech/substrate/issues/11292)
polkadot companion: paritytech/polkadot#6418
cumulus companion: paritytech/cumulus#1977

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2136055

bot rebase

/cmd queue -c fmt

/cmd queue -c fmt

bot rebase

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2177374

/cmd queue -c fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2177426

bot merge

bot merge

bot merge


[routing-manager] fix call to StartRoutingPolicyEvaluationJitter()

Fixes issue introduced with merging #7982
../../third_party/openthread/repo/src/core/border_router/routing_manager.cpp:261:44: error: 'kRoutingPolicyEvaluationJitter' was not declared in this scope
         StartRoutingPolicyEvaluationJitter(kRoutingPolicyEvaluationJitter);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.

Thanks


Swift/Kotlin exposes keysManager.spend_spendable_outputs

New ldk method:
const spendRes = await ldk.spendOutputs({
	descriptorsSerialized: [abc123...],
	outputs: [], //Shouldn't need to specify this if we're sweeping all funds to dest script
	change_destination_script: 'a91407694cfd2bd43f4e0fe285a4d013456cb58d7eab87',
	feerate_sat_per_1000_weight: 1000,
});

descriptorsSerialized is an array of serialized descriptors received from channel_manager_spendable_outputs event.
spendRes.value is a hex encoded tx that needs to be broadcasted.
feerate_sat_per_1000_weight can maybe be changed to an enum if more convenient ('high' | 'normal' | 'low')

spendRes appears to be returning Ok {value: null}.
More specifically, the following bit of code:
onChannelManagerSpendableOutputs(res) {
        return __awaiter(this, void 0, void 0, function* () {
            console.log('onChannelManagerSpendableOutputs', res.outputs);
            const spendRes = yield ldk.spendOutputs({
                descriptorsSerialized: res.outputs,
                outputs: [],
                change_destination_script: 'a91407694cfd2bd43f4e0fe285a4d013456cb58d7eab87',
                feerate_sat_per_1000_weight: 1000,
            });
            console.log('spendRes', spendRes);
...

Is returning:
onChannelManagerSpendableOutputs ['00450022cb15ea75a2b3357df891171eec569a1f1756f366ff…000160014a5e03dfa86b5e2e186c10c7bb8d84d1791913035']
lightning-manager.js:478 spendRes Ok {value: null}
lightning-manager.js:418 onBroadcastTransaction: null

@coreyphillips ok fixed the issue here please retry


Programmatically set behaviors

i have tried to set the behaviors manually without using xml all to no avail

@codedphoenix
The 'behaviors' are only assigned at BottomBar.java#L138. That means you can not set the 'behaviors' without using xml.

Thanks but, would that feature be available in a later version?

I don't know, @roughike can this become a new feature?

Thanks


NumPy missing

Compiling in docker, I get the following error now (as of 05a5d6a0ffd13e35010060d3937bdefc3268bb53):
  Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
  version "3.10.7")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPython/Support.cmake:3166 (find_package_handle_standard_args)
  /usr/share/cmake/Modules/FindPython3.cmake:490 (include)
  Intern/RayCore/CMakeLists.txt:192 (find_package)```

I got the same error after reinstalling Python, and after installing NumPy I don't get the error anymore.
Maybe you don't have it installed in the docker?

Hola!
You need python3 python3-matplotlib python3-numpy (pip or apt)
numpy usually comes bundles with matplotlib but just to be safe.

Okay, this fixed the issue.


Suggestions

Sam, this library just keeps getting better. So slick.
I have some suggestions that I don't believe are covered in the documents anywhere:

A placeholder component to display if no records are returned from the API (i.e. "no records found" instead of a table header with no table contents)
Ability to set one of the other font awesome icons as the spinner (I'm partial to fa-circle-o-notch and fa-refresh)
In the DataTable it would be nice to be able to replace the Active column header with a "Select all" checkbox (but ideally custom switcher component).

Hi @markau, I'm glad you're still enjoying the library. I do appreciate your suggestions, and they're not entirely unreasonable, but at the same time, I can't expect to be able to support every possible UI request. That's why I made it easy to write your own pagination components.
To demonstrate how easy that is, here's one that I wrote just today for a blogging site that I'm hacking on (using violet-paginator@2.x):
import React from 'react'
import { decorators } from 'violet-paginator'

import { Snippet, Markdown } from 'POSTS/Show'
import { Video } from 'POSTS/components/Preview/blockTypes'

function SnippetPreview(props) {
  const options = {
    readOnly: true
  }

  return (
    <Snippet
      options={options}
      {...props}
    />
  )
}

const components = {
  snippet: SnippetPreview,
  markdown: Markdown,
  video: Video
}

export function renderPost(post, i) {
  const block = post.get('blocks').first().toJS();
  const Block = components[block.format]

  return (

{post.get('title')}

        <Block {...block} />

  )
}

export function Browse({ results }) {
  return (

      {results.map(renderPost)}

  )
}

const Decorated = decorators.tabulate(Browse)

export default () => (
  <Decorated listId="posts" />
)

No worries, they are just thoughts I've had that you may or may not want to consider as you develop the library. I'll investigate the posted example in some more depth. Cheers.


Improve XXXJaccardResult

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (5e868f1) to head (bc1cad6).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #498   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          114       114
  Lines         3036      3041    +5
  Branches       178       178
=========================================
+ Hits          3036      3041    +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


No module named recipy.main; 'recipy' is a package and cannot be directly executed

# a.py
print('Hello World')

with open('1.txt', 'a') as f:
    f.write('aa')

(general)tmp $ python -m recipy SCRIPT a.py

tmp $ python --version
Python 2.7.10

Run 2aa3938b-aae2-4c81-b4da-907c57c25ab1
Date	2015/09/05 15:10
Author	re4lfl0w
Command	~/.virtualenvs/general/bin/python
Script	/private/tmp/a.py
Inputs	none
Outputs	none
Environment	~~~~~

recipy run inserted, with ID 10c84143-4f89-40fb-9fe9-aee3a3dac427
~/.virtualenvs/general/bin/python: No module named recipy.main; 'recipy' is a package and cannot be directly executed

Thanks for reporting this, we'll look into it. I suspect it is a Python 2 vs Python 3 thing - if you have access to Python 3 then it might work better there.
@kynan Do you have any ideas what's causing this, and how it might be able to be fixed?

Same error in python3
(python3) tmp $ python --version
Python 3.4.3

tmp $ python -m recipy SCRIPT a.py
recipy run inserted, with ID 55101e3e-3ef7-4d60-a18c-73a4dafa0f38
~/.virtualenvs/python3/bin/python: No module named recipy.__main__; 'recipy' is a package and cannot be directly executed

Ah, I think I've realised the problem: you don't need the verbatim SCRIPT in your command, that should be replaced by the actual name of the script. For example:
python -m recipy a.py
That works for me, does it work for you?

Actually, also - are you using the latest version from Github, or have you installed via pip? If you've installed from pip then that version doesn't have this functionality yet. A new version will be released in a few days that does though - sorry for the delay!

@robintw Yes, sounds like @re4lfl0w is using an old version which doesn't have the __main__ package entry point yet.

The new version with this additional feature has now been released.
@re4lfl0w if you run pip install -U recipy you should find it all works. Let us know if you have any more problems.


THIS PAGE MUST BE REMOVED IMMEDIATELY

There is no longer a team at Azure Dedicated to support Oracle workloads on Azure BareMetal Infrastructure (BMI).  They have either left the company, retired, or been re-assigned.  As a result, it is misleading and confusing to customers for this documentation to continue to be exposed publicly, so all mention of Oracle on BMI must be removed immediately.

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

ID: 981b5bac-d37e-b8e1-c138-d3cdcc266736
Version Independent ID: 34cbfaf4-e063-5f5c-b670-9992a407787f
Content: Architecture of BareMetal Infrastructure for Oracle - Azure Baremetal Infrastructure
Content Source: articles/baremetal-infrastructure/workloads/oracle/oracle-baremetal-architecture.md
Service: baremetal-infrastructure
Sub-service: baremetal-oracle
GitHub Login: @dineshga
Microsoft Alias: dineshga

@tigormanmsft Thank you for reporting this. We will work on this internally with the team and update.

@VikasPullagura-MSFT - please hold off on removing these pages.  Kalyan Kaki of the Azure Dedicated product group has stepped up to take responsibility for the pages, so please do nothing without his authorization.  Thank you!


fix(userspace): remove some wrong asserts

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
I was able to hit all these assertions in a reliable way using Falco + stress-ng... so something like
sudo ./userspace/falco/falco -c ../falco.yaml -r ../rules/falco_rules.yaml -o engine.kind=modern_ebpf

on another terminal

stress-ng --exec 4

In case of many drops these situation can happen so we shouldn't use assertions
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 6a36f9d9e0281679993a3249293655cfdc1d482a

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Style Specificity

Hi,
I have been trying to incorporate Tweakpane into a site. I am having difficultly with styling. In particular, the site I'm working with has existing styles that use selectors such as
button:not(.toggle)
This sets the background colour and button padding amongst other things. This overrides the Tweakpane styling (as far as I can tell) because this selector has a higher css 'weight' or specificity.
Have you got any suggestions for how I can get around this?
Thanks,
Chris

I've investigated this some more.
Any existing styles, such as input[type='text'] will take preference over the class styles that are defined in tweakpane as they have higher specificity. However, tweakpane is tweakpane because it looks good.
Looking at the css specificity rules I can see a few solutions. One would be to add a .tweakpane css class to the tweakpane main div and then make your rules .tweakpane .tp-rotv_t etc,etc. As there would now be 2x class selectors this would take preference over rules such as input[type="...
I'm no expert in this, there are probably better solutions...

Ok, this is no long term solution but here is a dodgy hack.
I added a 'tweakpane' class to my tweakpane div.
Then dynamically tweaked the tweakpane style using javascript.
var tpstyle = document.querySelector("style[data-for='tweakpane']");
tpstyle.innerHTML =	tpstyle.innerHTML.replace(/.tp-fldv_t,.tp-rotv_t/g, '.tweakpane .tp-fldv_t,.tweakpane .tp-rotv_t');
tpstyle.innerHTML = tpstyle.innerHTML.replace(/}.tp-/g, '}.tweakpane .tp-');

I think it is a responsibility of a website. We can add a workaround in the case of your example, but if a website has higher specificity definitions, we have to append another class name or consider to use !important. It will be endless...

Hi,
!important isn't any good. I agree.
It was the input[type='... that caused me the most problems. My hack above worked. Seems a little heavyweight to update the style at runtime. All I'm doing is effectively namespacing it.
Are there any other nicer solutions that I've missed?
Chris

Your solution looks good for this case. Or, you can change a style of a site like this:
<form class="someForm">
  <input class="someForm_textInput">
</form>

.someForm_textInput {
  ...
}

This is a CSS design methodology called BEM to avoid such annoying problem about CSS specificity.

Hi,
I'm actually embedding some 3D stuff (using Tweakpane) into a Wordpress site. I obviously don't have control over the Wordpress styles so I need to 'fix' my UI within my code. I can't change the Wordpress css, there is just too much of it.
I always find that gluing lots of things together is where I have problems.
Chris

That's tough...
I came up with another idea. Tweakpane doesn't inject a style if style[data-for=tweakpane] already exists. So you can inject a modified (pre-replaced) style before creating a pane.

Hi,
That's a good idea. I'll investigate that.
Thank you!


MEAP v4. Typo in Listing 4.5

https://forums.manning.com/posts/list/35887.page#p100234

fixed in the new version


0   The "analysis server shut down unexpectedly" error in Flutter. I have also tried flutter clean but that did not work.  how to solve this error

Thank you for taking the time to file an issue!
This tracker is for issues related to:

Analyzer
Common Front End (CFE) and kernel
Dart core libraries ("dart:async", "dart:io", etc.)
Dart VM
dart2js
dev_compiler

Some other pieces of the Dart ecosystem are maintained elsewhere. Please
file issues in their repository:

Dart language: https://github.com/dart-lang/language
Dart website: https://github.com/dart-lang/site-www
Flutter: https://github.com/flutter/flutter
Linter: https://github.com/dart-lang/linter
dart format: https://github.com/dart-lang/dart_style

If you aren't sure, file the issue here and we'll find the right home for it.
In your issue, please include:

Dart SDK Version (dart --version)
Whether you are using Windows, MacOSX, or Linux (if applicable)
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Missing some or all of the above might make the issue take longer or be
impossible to act on.
If you simply have a question, consider starting with Stack Overflow:
https://stackoverflow.com/questions/tagged/dart
For a real-time response, consider our Gitter channel:
https://gitter.im/dart-lang/sdk

The "analysis server shut down unexpectedly" error in Flutter. I have also tried flutter clean but that did not work.
how to solve this error

Hi @OMKAR1022. I'm not seeing anything actionable here so I'll close it out.  Feel free to open w/ more details.


Include changes from v1.8.0 of Lightspeed eCom API client

Just for reference, include the changes from the upcoming v1.8.0 of the Lightspeed eCom API PHP Client https://github.com/SEOshop/API-PHP-Client/tree/v1.8.0

@michielrensen Thanks - will do ... when do you think it will be released?

The current plan is next Monday Dec 5th.

Perfect

@gunharth v1.8.0 just got released, in the release notes you can find what's changed: https://github.com/SEOshop/API-PHP-Client/releases/tag/v1.8.0

@michielrensen PS: thx for the @mention on your project!


Add Libretro Wolfenstein3d Port

This works great... once. For some reason on exit it puts the framebuffer in an unuseable state, I'm pretty sure the module is done proper, but I think there is still some upstream stuff that needs to be sorted.
Note that this module is built based on the latest port changes from RetroPie.

I'll pull this into its own branch until it's stable.

I merged this into the chocolate-wolf3d branch and moved it from ports to the newly created libretrocores. I'll give this a try sometime later tonight.

appreciated. they haven't actually done any libretro porting really so its really just wolfenstein right now,  don't know if I'll hold my breath on them porting it anytime soon, but its easier to set up than wolf4sdl with the obvious glaring issue of the jacked up framebuffer (even after using runcommand)

Is it something that we can fix by simply running something like fbset -depth 32 and then fbset -depth 16 after the game closes out?

It may be possible, I haven't looked into it too extensively tbh.


Description List content overflow

Link to the Page
https://www.skeleton.dev/docs/tauri
Describe the Issue (screenshots encouraged!)

With white-space: break-spaces;

@SebasF1349 I'd welcome a PR for this if you can jump on it before me. No pressure though!