x- and y-axis in plots are interchanged

Is there a reason, why the axes are interchanged? Shouldn't the x-axis be the axis of abscissas?

Hi Kai,
I interchanged them because ansys and calculix assume that the y axis is
the axis of symmetry for axisymmetric models. It is a bit weird, but it is
their assumption.
Best,
Justin
On Jul 5, 2015 9:46 AM, "KyPy"<EMAIL_ADDRESS>wrote:

Is there a reason, why the axes are interchanged? Shouldn't the x-axis be
the axis of abscissas?
—
Reply to this email directly or view it on GitHub
https://github.com/spacether/pycalculix/issues/8.

Hi Justin,
it is the same in Abaqus. But if you look at the axisymmetric examples they are all drawn as the vertical axis beeing the axis of symmetry. I don't think it's necessary that the axis of symmetry is horizontal, it is more the other way around. At least from what I have seen so far.
Examples:
http://web.cecs.pdx.edu/~hormoz/me455555/fall13/tutorials/axisym_tutorial.pdf
https://www.ndsu.edu/me/images/Kallmeyer/477/Pressure Vessel Example.pdf
Greetings,
Kai

Kai,
My background is in jet engines,  where we rotated our view to show the y
axis as  horizontal. This makes more sense for axial long objects which are
installed horizontally.
https://www.google.com/url?sa=t&source=web&rct=j&ei=BOGbVeCNO8-2yASOw72wCw&url=http://www.ansys.com/staticassets/ANSYS/staticassets/resourcelibrary/confpaper/2004-Int-ANSYS-Conf-85.PDF&ved=0CCcQFjAC&usg=AFQjCNE4TEOlMZskmKcGC_uC4AW1yWxmqg&sig2=vH-bKf2L-Rl-JwE4pDz2Ow
I'll add a feamodel setting which sets y as vertical (default, most cases)
or horizontal (shafts/engines).
Thanks,
Justin
On Jul 7, 2015 5:32 AM, "KyPy"<EMAIL_ADDRESS>wrote:

Hi Justin,
it is the same in Abaqus. But if you look at the axisymmetric examples
they are all drawn as the vertical axis beeing the axis of symmetry. I
don't think it's necessary that the axis of symmetry is horizontal, it is
more the other way around. At least from what I have seen so far.
Examples:
http://web.cecs.pdx.edu/~hormoz/me455555/fall13/tutorials/axisym_tutorial.pdf
https://www.ndsu.edu/me/images/Kallmeyer/477/Pressure Vessel Example.pdf
Greetings,
Kai
—
Reply to this email directly or view it on GitHub
https://github.com/spacether/pycalculix/issues/8#issuecomment-119190444.

Hi Justin,
my background is in mechanical engineering (mainly hydraulic systems/components), so I haven't come in touch with this kind of orientation. But for your applications, I believe it to be very useful.
The different settings are a good idea.
Greetings,
Kai


API change proposal: listener() --> listener(action)

Hi,
As our Redux project grows at our company, we have found useful to get the last dispatched action at the beginning of a store.subscribe like this:
store.subscribe(() => {
    const { records } = store.getState(); // a reducer that holds every action ever dispatched
    const lastAction = records[records.length - 1];

But that approach is not reliable every time: if we wait too long before accessing records[records.length - 1] we might end up with another action dispatched in the meanwhile.
So we thought, in createStore.js, what about calling listener with the dispatched action as argument ?
listeners.slice().forEach(listener => listener(action));

That would allow developers to use store.subscribe() as a way to create action-based side-effects, thus making Redux even more flexible.
Would anyone else like this ?
Thanks for the lib.

This seems to make Redux less flexible, not more. People often ask why we don't call listeners with the most recent state, not action. This is an example of why — different people have different opinions about how this stuff should work.
The beauty of Redux is that you can customize this type of behavior yourself. Using a store enhancer:
function subscribeWithAction(createStore) {
  return (reducer, initialState) => {
    const store = createStore(reducer, initialState);
    let listeners = [];
    let lastAction;
    store.listen(() => listeners.forEach(l => l(lastAction))

    return {
      dispatch: action => {
        lastAction = action;
        return store.dispatch(action);
      },
      subscribe: listener => {
        listeners.push(listener);
        return function unsubscribe() {
          listeners = listeners.filter(l => l !== listener);
        };
      }
    };
  };
}

// Use it like this
const finalCreateStore = subscribeWithLastAction(createStore);
const store = finalCreateStore(reducer, initialState);

store.subscribe(lastAction => {
  // Yay!
});

But that approach is not reliable every time: if we wait too long before accessing records[records.length - 1] we might end up with another action dispatched in the meanwhile.

Can you show with a failing test how this happens? I don't understand.

@acdlite that example.  Hope it makes it's way into the documentation.

To be honest I wouldn't encourage people to write store enhancers when a reducer is enough :-).
I'd rather want to understand what's wrong with just using subscribe—I couldn't reproduce the issue.

@acdlite Thanks for the store enhancer that's something!
@gaearon We can't seem to reproduce that issue either -_-, sorry for the inconvenience.


Address review comments from Bug 1148192 - Update pdf.js to version 1.124

See https://bugzilla.mozilla.org/show_bug.cgi?id=1148192#c3.

/botio-windows preview

Thank you for the patch


Remember custom rewrites

Upon restarting, ZXLive forgets the rewrites that were previously added. The custom rewrites should be made persistent. We should also add the option to edit or delete previously added rewrites.

I discussed this with @boldar99 today. We discussed that the best/easiest way would be to store a list of custom rewrites in a json file, like how tikzit has a file for tikzstyles.


Better support filtering approvals

add new modifier for filtering approvals
add approvals to examples
only check msg.sender in existing modifier

This is a much better experience for end users, so that they don't end up wasting gas on an approval for a token they cannot transfer


paths and paths-ignore config settings are invalid

On the docs for the security scanning, it mentions about using the keys paths and paths-ignore to restrict where the scan runs: https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#specifying-directories-to-scan.
In the github/codeql-action/init@v1 action, there doesn't appear to be any configuration options for them.
Is this an issue with the docs or the action?

That section is under using-a-custom-configuration-file so the options go in to a separate yml file instead of directly into the workflow.
What you actually pass to the action is
- uses: github/codeql-action/init@v1
  with:
    config-file: ./.github/codeql/codeql-config.yml

I'm going to close this issue. Let me know if the above doesn't make sense.

https://github.com/github/codeql-action/pull/1590 may make this possible to pass directly in the workflow file rather than requiring a separate config file.


Switch from boost/thread/future.hpp to C++11 future.

This fixes bugs with rethrown exceptions (e.g., avoids std::exception_ptr being thrown).

@davidbtucker FYI.

@deanberris Thanks for taking a look!
The problem is that boost::future has a bug in handling std::exception_ptr (there is a specialization of set_exception for boost::exception_ptr, but not for std::exception_ptr, so it ends up calling boost::copy_exception on an instance of std::exception_ptr). The following code demonstrates the issue:
#include <boost/network/protocol/http/client.hpp>
#include <boost/network/protocol/http/server.hpp>
#include <iostream>
#include <thread>

namespace http = boost::network::http;

class Server {
  struct Handler;
  using http_server = http::server<Handler>;
 public:
  Server()
      : handler_(),
        server_(http_server::options(handler_).address("<IP_ADDRESS>").port("")) {
    server_.listen();
    http_server& server = server_;
    server_thread_ = std::thread([&server] { server.run(); });
  }
  ~Server() {
    server_.stop();
    server_thread_.join();
  }
  std::string port() { return server_.port(); }

 private:
  struct Handler {
    void operator()(http_server::request const &request,
                    http_server::connection_ptr connection) {
      connection->set_status(http_server::connection::ok);
      //connection->set_headers(std::map<std::string, std::string>({
      //    {"Content-Type", "text/plain"},
      //}));
      connection->write("");
    }
  };

  Handler handler_;
  http_server server_;
  std::thread server_thread_;
};

int main(int ac, char** av) {
  // Start a server in a separate thread, and allow it to choose an
  // available port.
  Server server;

  http::client client;
  http::client::request request(
    std::string("http://<IP_ADDRESS>:") + server.port());
  try {
    try {
      http::client::response response = client.get(request);
      if (status(response) < 300) {
        std::cerr << "Success: " << body(response) << std::endl;
      } else {
        std::cerr << "Failure: " << status(response) << " "
                  << status_message(response) << std::endl;
      }
    } catch (const std::exception_ptr& eptr) {
      std::cerr << "Huh? An exception_ptr?" << std::endl;
      std::rethrow_exception(eptr);
    }
  } catch (const boost::system::system_error& e) {
    std::cerr << "Boost Exception: " << e.what() << std::endl;
  } catch (const std::exception& e) {
    std::cerr << "Exception: " << e.what() << std::endl;
  }
}

Without this change, the output is:
Huh? An exception_ptr?
Exception: Invalid Version Part.

With this change, it's just:
Exception: Invalid Version Part.

An alternative could be to add a specialization for boost::future::set_exception(std::exception_ptr), but that seems like a much more involved option...

Thanks for explaining @igorpeshansky -- there were changes in 0.13-release which addresses some of the internals of the HTTP connection handling which has to do with exception handling/propagation. I'm wondering whether we should be attempting to cherry-pick that (or port it) into master -- and whether that's the correct fix for this particular problem.
I actually don't see where, in your example, how we're throwing exceptions at all. Is there something else I'm missing?


Update to allow for android-sdk-install (via jenkins job)

Motivation:
The current android slave docker container has the android sdk 'baked' into the image
To avoid any legal problems with the license agreement it would be better to exclude the install and setup of the sdk in a container
Solution:
The best solution (and easiest - after days of trying plugins/master-slave configurations with external directory mounts etc) was found to be :-

Create a simple freestyle jenkins job
Copy the script (included in this repo jenkinsfiles/install-android-sdk.sh) into the job execute shell field
Add a Global variable GRADLE_HOME that points to the gradle wrapper directory
Create the android slave build pipeline with the script example (jenkinsfiles/new-android.groovy)
The install android job needs to be executed once only

Simple changes to the current dockerfile were necessary (set the JAVA_HOME env for gradle and include wget for the install script)
Result:
The slave relies on the GRADLE_HOME setting and calls the gradlew script.
This has been tested locally.
JIRA:
refer to AGDIGGER-43 for details and logs

@matzew @wtrocki - This is POC - we can discuss this in more detail

@luigizuccarelli - Cool idea? Is that stored on PV? Do we miss here changes for template?
BTW. We can add installation job to our docker image if needed, so we do not need to document this etc. Let's sync on this tommorow!

@wtrocki - Yes in installs in /var/lib/jenkins which is backed my the current PV. Yes lets discuss this after standup today

After internal review with @luigizuccarelli we decided that there would be more work required here.

@wtrocki @luigizuccarelli such as ? (the more work)?

I mean that we just need to mount volume into the slave container.

@luigizuccarelli I think that PR is no longer actual since we changing approach here. Feel free to reopen if needed.

@wtrocki - Yes agreed


build(deps): bump react-native from 0.67.5 to 0.68.7

This PR resolves []
Description

[x] Android works
[x] iOS works
[ ] we might need to address this warning:

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

closing due to https://github.com/artsy/eigen/pull/8641


API organization

I wanted to do a trial PR to see what you think. You can view the markdown on my branch to see what it looks like. I want to start finalizing the API for version 1.
When doing this I did get a few questions about updating:

is it hard to add signatures? B/c they are really important. Otherwise anyone can provide bogus updates and steal coins.

Will the updating work if you are more than 1 update out of date? From what I remember, you a manifest which contains diffs? But if you don't get all of the diffs since you last updated, you will run into problems. (or does the code already handle that well?)

I did change it so that the code is safe if version numbers have different volumes of dots.

can you add a unit test for newerVersion? Should be really easy, I just want to make sure it's working as we expect it to.

lol
I did, look again :P

Closing until it's actually ready, I just wanted to PR a sneak peek so you could give your thoughts before I did the whole thing in that format.


Switch the language to Simplified Chinese, and the browser console reports an error

Setup

Rancher version: v2.6.4
Browser type & version: Chrom 101.0.4951.54

Describe the bug

When the language is switched to Simplified Chinese, the browser console reports an error, and the namespace cannot be switched
To Reproduce

Switch the language to Simplified Chinese(简体中文)
Access the local or downstream cluster

Result
The browser console will report an error and cannot switch namespaces
Error: The intl string context variable "更多" was not provided to the string "+{更多}"
    at new e (formatters.js:25:28)
    at K (formatters.js:86:19)
    at W (formatters.js:174:17)
    at t.format (core.js:61:20)
    at Object.<anonymous> (i18n.js:103:24)
    at c (i18n.js:5:37)
    at f.o.default.t (i18n.js:28:10)
    at f.r (NamespaceFilter.vue?17b9:1:1519)
    at f.t._render (vue.runtime.esm.js:3548:22)
    at f.r (vue.runtime.esm.js:4066:21)

Expected Result

There are no errors in the browser console and namespace switching works fine
Screenshots

Additional context

Detailed Description

Context

Ticket #5868 - Test Results
With Docker on a single-node instance:
Reproduced on rancher v2.6.4:

Fresh install of rancher v2.6.4
Provision a downstream cluster - [ANY]
Switch language preference in Rancher from English to Simplified Chinese
View downstream cluster's Cluster Explorer page
Attempt to change namespace selected in filter
Reproduced - UI is frozen with error in console

Screenshot:
Step 6

Verified on rancher v2.6-628b1b97009ef76a425380564fa73eb26a5ef280-head:

Fresh install of rancher v2.6-head
Provision a downstream cluster - [ANY]
Switch language preference in Rancher from English to Simplified Chinese
View downstream cluster's Cluster Explorer page
Attempt to change namespace selected in filter
Verified - UI as expected; Clean console logs

Screenshot:
Step 6


Just-submitted reportbacks don't load on User Profile

Happens right after you submit a reportback and navigate to your profile --  because we store the ReportbackItem's image in the DSOReportback.image property but don't update the corresponding DSOCampaignSignup in the current user's campaignSignups.. Might be better to keep things more consistent and just load the image from the new image URL we get back upon submitting the reportback

.

We don't get the Reportback item ID or URL returned when a posting a Reportback, just a Reportback ID: https://github.com/DoSomething/northstar/issues/237
Without getting that data back, there are two possible ways to go around this:

We could make another API request to load the reportback from the Phoenix reportbacks endpoint... but that's not really the ideal solution for the end user.
Will need to check the existence of a local reportbackItem.image property and display that instead of using the non-existent reportbackItemImageURL, like we do on the Campaign Detail (refs #454)


Generating very small paths makes position disagree with velocity

When I want to generate a very short and straight path (only several centimeters only), the generated path coordinates overshoot and undershoot the target. The velocity does not agree with the change in the x.
This commit prints the following when squiggles_tst is executed.
Notice, the X position changes sign but the velocity remains positive. The result is that the robot moves smoothly really far in a straight line (when no path following algorithm is used).

Output
X: 0.00399803 Y: 0 Yaw: 0 Vel: 0.02
X: 0.00798439 Y: 0 Yaw: 0 Vel: 0.04
X: 0.0119479 Y: 0 Yaw: 0 Vel: 0.06
X: 0.0158779 Y: 0 Yaw: 0 Vel: 0.08
X: 0.0197643 Y: 0 Yaw: 0 Vel: 0.1
X: 0.0235973 Y: 0 Yaw: 0 Vel: 0.12
X: 0.0273679 Y: 0 Yaw: 0 Vel: 0.14
X: 0.0310673 Y: 0 Yaw: 0 Vel: 0.16
X: 0.0346874 Y: 0 Yaw: 0 Vel: 0.18
X: 0.0382204 Y: 0 Yaw: 0 Vel: 0.2
X: 0.041659 Y: 0 Yaw: 0 Vel: 0.22
X: 0.0449965 Y: 0 Yaw: 0 Vel: 0.24
X: 0.0482265 Y: 0 Yaw: 0 Vel: 0.26
X: 0.0513431 Y: 0 Yaw: 0 Vel: 0.28
X: 0.0543407 Y: 0 Yaw: 0 Vel: 0.3
X: 0.0572143 Y: 0 Yaw: 0 Vel: 0.32
X: 0.0599592 Y: 0 Yaw: 0 Vel: 0.34
X: 0.0625712 Y: 0 Yaw: 0 Vel: 0.36
X: 0.0650465 Y: 0 Yaw: 0 Vel: 0.38
X: 0.0673814 Y: 0 Yaw: 0 Vel: 0.4
X: 0.0695731 Y: 0 Yaw: 0 Vel: 0.42
X: 0.0716187 Y: 0 Yaw: 0 Vel: 0.44
X: 0.0735159 Y: 0 Yaw: 0 Vel: 0.46
X: 0.0752627 Y: 0 Yaw: 0 Vel: 0.48
X: 0.0768576 Y: 0 Yaw: 0 Vel: 0.5
X: 0.0782992 Y: 0 Yaw: 0 Vel: 0.52
X: 0.0795865 Y: 0 Yaw: 0 Vel: 0.54
X: 0.080719 Y: 0 Yaw: 0 Vel: 0.56
X: 0.0816963 Y: 0 Yaw: 0 Vel: 0.58
X: 0.0825185 Y: 0 Yaw: 0 Vel: 0.6
X: 0.0831858 Y: 0 Yaw: 0 Vel: 0.62
X: 0.0836989 Y: 0 Yaw: 0 Vel: 0.64
X: 0.0840586 Y: 0 Yaw: 0 Vel: 0.66
X: 0.0842662 Y: 0 Yaw: 0 Vel: 0.68
X: 0.084323 Y: 0 Yaw: 3.14159 Vel: 0.7
X: 0.0842308 Y: 0 Yaw: 3.14159 Vel: 0.72
X: 0.0839916 Y: 0 Yaw: 3.14159 Vel: 0.74
X: 0.0836075 Y: 0 Yaw: 3.14159 Vel: 0.76
X: 0.083081 Y: 0 Yaw: 3.14159 Vel: 0.78
X: 0.0824148 Y: 0 Yaw: 3.14159 Vel: 0.8
X: 0.0816118 Y: 0 Yaw: 3.14159 Vel: 0.82
X: 0.0806751 Y: 0 Yaw: 3.14159 Vel: 0.84
X: 0.0796081 Y: 0 Yaw: 3.14159 Vel: 0.86
X: 0.0784144 Y: 0 Yaw: 3.14159 Vel: 0.88
X: 0.0770975 Y: 0 Yaw: 3.14159 Vel: 0.9
X: 0.0756615 Y: 0 Yaw: 3.14159 Vel: 0.92
X: 0.0741104 Y: 0 Yaw: 3.14159 Vel: 0.94
X: 0.0724485 Y: 0 Yaw: 3.14159 Vel: 0.96
X: 0.0706803 Y: 0 Yaw: 3.14159 Vel: 0.98
X: 0.0688102 Y: 0 Yaw: 3.14159 Vel: 1
X: 0.0668431 Y: 0 Yaw: 3.14159 Vel: 1.02
X: 0.0647837 Y: 0 Yaw: 3.14159 Vel: 1.04
X: 0.0626371 Y: 0 Yaw: 3.14159 Vel: 1.06
X: 0.0604084 Y: 0 Yaw: 3.14159 Vel: 1.08
X: 0.0581027 Y: 0 Yaw: 3.14159 Vel: 1.1
X: 0.0557255 Y: 0 Yaw: 3.14159 Vel: 1.12
X: 0.0532821 Y: 0 Yaw: 3.14159 Vel: 1.14
X: 0.050778 Y: 0 Yaw: 3.14159 Vel: 1.16
X: 0.048219 Y: 0 Yaw: 3.14159 Vel: 1.18
X: 0.0456105 Y: 0 Yaw: 3.14159 Vel: 1.2
X: 0.0429584 Y: 0 Yaw: 3.14159 Vel: 1.22
X: 0.0402685 Y: 0 Yaw: 3.14159 Vel: 1.24
X: 0.0375467 Y: 0 Yaw: 3.14159 Vel: 1.26
X: 0.0347987 Y: 0 Yaw: 3.14159 Vel: 1.28
X: 0.0320305 Y: 0 Yaw: 3.14159 Vel: 1.3
X: 0.0292482 Y: 0 Yaw: 3.14159 Vel: 1.32
X: 0.0264575 Y: 0 Yaw: 3.14159 Vel: 1.34
X: 0.0236647 Y: 0 Yaw: 3.14159 Vel: 1.33515
X: 0.0208755 Y: 0 Yaw: 3.14159 Vel: 1.31515
X: 0.018096 Y: 0 Yaw: 3.14159 Vel: 1.29515
X: 0.0153322 Y: 0 Yaw: 3.14159 Vel: 1.27515
X: 0.0125901 Y: 0 Yaw: 3.14159 Vel: 1.25515
X: 0.00987539 Y: 0 Yaw: 3.14159 Vel: 1.23515
X: 0.00719413 Y: 0 Yaw: 3.14159 Vel: 1.21515
X: 0.00455212 Y: 0 Yaw: 3.14159 Vel: 1.19515
X: 0.00195514 Y: 0 Yaw: 3.14159 Vel: 1.17515
X: -0.000591092 Y: 0 Yaw: 3.14159 Vel: 1.15515
X: -0.00308092 Y: 0 Yaw: 3.14159 Vel: 1.13515
X: -0.00550876 Y: 0 Yaw: 3.14159 Vel: 1.11515
X: -0.00786912 Y: 0 Yaw: 3.14159 Vel: 1.09515
X: -0.0101566 Y: 0 Yaw: 3.14159 Vel: 1.07515
X: -0.0123659 Y: 0 Yaw: 3.14159 Vel: 1.05515
X: -0.0144918 Y: 0 Yaw: 3.14159 Vel: 1.03515
X: -0.0165292 Y: 0 Yaw: 3.14159 Vel: 1.01515
X: -0.0184732 Y: 0 Yaw: 3.14159 Vel: 0.995146
X: -0.020319 Y: 0 Yaw: 3.14159 Vel: 0.975146
X: -0.0220619 Y: 0 Yaw: 3.14159 Vel: 0.955146
X: -0.0236973 Y: 0 Yaw: 3.14159 Vel: 0.935146
X: -0.0252208 Y: 0 Yaw: 3.14159 Vel: 0.915146
X: -0.0266282 Y: 0 Yaw: 3.14159 Vel: 0.895146
X: -0.0279156 Y: 0 Yaw: 3.14159 Vel: 0.875146
X: -0.0290789 Y: 0 Yaw: 3.14159 Vel: 0.855146
X: -0.0301146 Y: 0 Yaw: 3.14159 Vel: 0.835146
X: -0.0310191 Y: 0 Yaw: 3.14159 Vel: 0.815146
X: -0.0317892 Y: 0 Yaw: 3.14159 Vel: 0.795146
X: -0.0324217 Y: 0 Yaw: 3.14159 Vel: 0.775146
X: -0.0329139 Y: 0 Yaw: 3.14159 Vel: 0.755146
X: -0.0332631 Y: 0 Yaw: 3.14159 Vel: 0.735146
X: -0.0334668 Y: 0 Yaw: 3.14159 Vel: 0.715146
X: -0.033523 Y: 0 Yaw: 0 Vel: 0.695146
X: -0.0334297 Y: 0 Yaw: 0 Vel: 0.675146
X: -0.0331854 Y: 0 Yaw: 0 Vel: 0.655146
X: -0.0327885 Y: 0 Yaw: 0 Vel: 0.635146
X: -0.0322381 Y: 0 Yaw: 0 Vel: 0.615146
X: -0.0315332 Y: 0 Yaw: 0 Vel: 0.595146
X: -0.0306734 Y: 0 Yaw: 0 Vel: 0.575146
X: -0.0296584 Y: 0 Yaw: 0 Vel: 0.555146
X: -0.0284883 Y: 0 Yaw: 0 Vel: 0.535146
X: -0.0271634 Y: 0 Yaw: 0 Vel: 0.515146
X: -0.0256845 Y: 0 Yaw: 0 Vel: 0.495146
X: -0.0240526 Y: 0 Yaw: 0 Vel: 0.475146
X: -0.0222691 Y: 0 Yaw: 0 Vel: 0.455146
X: -0.0203357 Y: 0 Yaw: 0 Vel: 0.435146
X: -0.0182544 Y: 0 Yaw: 0 Vel: 0.415146
X: -0.0160277 Y: 0 Yaw: 0 Vel: 0.395146
X: -0.0136584 Y: 0 Yaw: 0 Vel: 0.375146
X: -0.0111497 Y: 0 Yaw: 0 Vel: 0.355146
X: -0.00850504 Y: 0 Yaw: 0 Vel: 0.335146
X: -0.00572848 Y: 0 Yaw: 0 Vel: 0.315146
X: -0.00282433 Y: 0 Yaw: 0 Vel: 0.295146
X: 0.000202637 Y: 0 Yaw: 0 Vel: 0.275146
X: 0.00334725 Y: 0 Yaw: 0 Vel: 0.255146
X: 0.0066039 Y: 0 Yaw: 0 Vel: 0.235146
X: 0.00996657 Y: 0 Yaw: 0 Vel: 0.215146
X: 0.0134288 Y: 0 Yaw: 0 Vel: 0.195146
X: 0.0169836 Y: 0 Yaw: 0 Vel: 0.175146
X: 0.0206236 Y: 0 Yaw: 0 Vel: 0.155146
X: 0.0243411 Y: 0 Yaw: 0 Vel: 0.135146
X: 0.0281276 Y: 0 Yaw: 0 Vel: 0.115146
X: 0.0319745 Y: 0 Yaw: 0 Vel: 0.0951455
X: 0.0358723 Y: 0 Yaw: 0 Vel: 0.0751455
X: 0.0398114 Y: 0 Yaw: 0 Vel: 0.0551455
X: 0.0437815 Y: 0 Yaw: 0 Vel: 0.0351455
X: 0.0477718 Y: 0 Yaw: 0 Vel: 0.0151455
[==========] Running 19 tests from 5 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from impose_limits_test
[ RUN      ] impose_limits_test.cap_velocity_1d
[       OK ] impose_limits_test.cap_velocity_1d (0 ms)
[ RUN      ] impose_limits_test.cap_accel_1d
[       OK ] impose_limits_test.cap_accel_1d (2 ms)
[ RUN      ] impose_limits_test.cap_both_1d
[       OK ] impose_limits_test.cap_both_1d (1 ms)
[ RUN      ] impose_limits_test.cap_velocity_2d
[       OK ] impose_limits_test.cap_velocity_2d (0 ms)
[ RUN      ] impose_limits_test.cap_accel_2d
[       OK ] impose_limits_test.cap_accel_2d (2 ms)
[ RUN      ] impose_limits_test.cap_both_2d
[       OK ] impose_limits_test.cap_both_2d (1 ms)
[----------] 6 tests from impose_limits_test (8 ms total)

[----------] 4 tests from io_test
[ RUN      ] io_test.serialize_path_test
[       OK ] io_test.serialize_path_test (0 ms)
[ RUN      ] io_test.deserialize_path_test
[       OK ] io_test.deserialize_path_test (0 ms)
[ RUN      ] io_test.wheel_vels
[       OK ] io_test.wheel_vels (1 ms)
[ RUN      ] io_test.pathfinder
[       OK ] io_test.pathfinder (3 ms)
[----------] 4 tests from io_test (6 ms total)

[----------] 3 tests from model_constraints_test
[ RUN      ] model_constraints_test.min_constraints
[       OK ] model_constraints_test.min_constraints (134 ms)
[ RUN      ] model_constraints_test.sharp_turn
[       OK ] model_constraints_test.sharp_turn (315 ms)
[ RUN      ] model_constraints_test.smooth_arc
[       OK ] model_constraints_test.smooth_arc (296 ms)
[----------] 3 tests from model_constraints_test (746 ms total)

[----------] 4 tests from plan_plath_test
[ RUN      ] plan_plath_test.nonzero_start_end
[       OK ] plan_plath_test.nonzero_start_end (0 ms)
[ RUN      ] plan_plath_test.zero_start
[       OK ] plan_plath_test.zero_start (1 ms)
[ RUN      ] plan_plath_test.zero_end
[       OK ] plan_plath_test.zero_end (1 ms)
[ RUN      ] plan_plath_test.zero_start_end
[       OK ] plan_plath_test.zero_start_end (1 ms)
[----------] 4 tests from plan_plath_test (4 ms total)

[----------] 2 tests from plan_path_test
[ RUN      ] plan_path_test.three_points_nonzero
[       OK ] plan_path_test.three_points_nonzero (45 ms)
[ RUN      ] plan_path_test.three_points_zero
[       OK ] plan_path_test.three_points_zero (2 ms)
[----------] 2 tests from plan_path_test (47 ms total)

[----------] Global test environment tear-down
[==========] 19 tests from 5 test suites ran. (814 ms total)
[  PASSED  ] 19 tests.```

</details>

Thank you for catching this! I'm not entirely sure why this is happening off the top of my head, but my hunch is that something is a bit off with the math in Squiggles and this is the result. I'm quite busy these days and it'll likely be a little bit until I can get a fix merged up into Okapilib, but I'll definitely take a look to try and get this fixed!

Hi @bnhrkn , sorry it's taken me so long to get back to you on this! A couple of findings on this:

best I can tell, the root of the issue lies in the gradient descent algorithm used to find the ideal start/end velocity for a given path. You can avoid this algorithm by manually setting the start/end velocity of your path to a non-zero value, as a workaround.
It's tricky to find sane defaults for those velocities in the gradient descent algorithm that will result in nice looking paths for more typical paths (like those included in the tests and visualization example currently) while also supporting tiny paths like this. I'm working on a solution to that in my baylessj/52-small-paths branch on this repo 😄


add / update fstab entry with --update-fstab

[ ] abs path check for sqlite and similars
[ ] correctly handle slice arguments, even though they don't exist in juicefs mount yet

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #2446 (d2ffbbc) into main (7a70662) will decrease coverage by 0.16%.
The diff coverage is 8.10%.

:exclamation: Current head d2ffbbc differs from pull request most recent head 3bced4e. Consider uploading reports for the commit 3bced4e to get more accurate results

@@            Coverage Diff             @@
##             main    #2446      +/-   ##
==========================================
- Coverage   61.61%   61.45%   -0.17%
==========================================
  Files         137      137
  Lines       25559    25633      +74
==========================================
+ Hits        15749    15752       +3
- Misses       7966     8033      +67
- Partials     1844     1848       +4

Impacted Files
Coverage Δ

cmd/mount.go
49.85% <0.00%> (-11.88%)
:arrow_down:

pkg/chunk/disk_cache.go
81.35% <50.00%> (-0.28%)
:arrow_down:

cmd/mount_unix.go
49.56% <100.00%> (+1.81%)
:arrow_up:

pkg/chunk/utils_unix.go
73.33% <0.00%> (-20.00%)
:arrow_down:

pkg/meta/sql.go
66.00% <0.00%> (-0.19%)
:arrow_down:

pkg/meta/redis.go
72.01% <0.00%> (+0.04%)
:arrow_up:

pkg/meta/tkv_mem.go
88.43% <0.00%> (+0.57%)
:arrow_up:

pkg/meta/tkv_etcd.go
77.09% <0.00%> (+0.88%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.

close in favor of https://github.com/juicedata/juicefs/pull/2462


FindAtOffset compile error with GDK

Building with GDK tools for console I'm getting a compile error with the latest release:
d3d12memalloc.cpp(3557): error C2440: 'return': cannot convert from 'D3D12MA::List<D3D12MA::Suballocation>::const_reverse_iterator' to 'D3D12MA::List<D3D12MA::Suballocation>::const_iterator'
My fix was to forward declare const_reverse_iterator right after the forward declaration of reverse_iterator on line 1564;
class const_reverse_iterator;

It seems as though "friend class const_reverse_iterator" automatically forward-declares the type for VS2017 but it's somehow ambiguous with the GDK toolchain so the conversion constructors aren't triggered automatically.
Sorry if this should be a PR instead -- it's a one-line fix.

Thank you for finding this issue and describing the exact fix. I fixed it.


build(ui): fix monaco-editor font path

Motivation

the path appears to have changed in newer versions of Monaco

but builds seem to have still passed in #11593
it then failed after #11628 was merged on top -- likely because the updated CopyWebpackPlugin now actually errors out on a missing file

#11628 itself passes but was built before #11593 was merged. The master branch build after merge failed

Modifications

Update to the new path to monaco-editor's font in the Webpack config

this from path is now equivalent to Argo CD's config

Verification

from argo-workflows/ui/

❯ ls node_modules/monaco-editor/min/vs/base/browser/ui/codicons/codicon/codicon.ttf
node_modules/monaco-editor/min/vs/base/browser/ui/codicons/codicon/codicon.ttf

also there is no codiconLabel directory anymore

build now passes
Confirmed that the editor renders with syntax highlighting (so I think it's good?):

From my opening comment:

The master branch build after merge failed

i.e. when the two PRs were merged together, there was some breakage.
I have a feeling there was breakage before then too with the fonts not working, just that it wasn't detected until we had the newer version of CopyWebpackPlugin which actually errored on build

Also it looks like every PR based off master except this one is failing on CI UI


[LIVY-972] Add GitHub Action for CI image

What changes were proposed in this pull request?

Adds Several GitHub Workflows

[x] CI image builder
[x] Unit tests for git push
[x] Integration tests for PRs

How was this patch tested?
Manual validation in the course of the pull request and new GitHub Actions workflows.

Codecov Report

Merging #393 (01b12d4) into master (45e07fe) will decrease coverage by 2.78%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #393      +/-   ##
============================================
- Coverage     68.37%   65.60%   -2.78%
+ Complexity      849      822      -27
============================================
  Files           103      103
  Lines          5989     5989
  Branches        911      911
============================================
- Hits           4095     3929     -166
- Misses         1330     1534     +204
+ Partials        564      526      -38

see 24 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Would it make sense to merge integration-tests.yaml and unit-tests.yaml

I wasn't quite sure if there was an easy way to do that. Can definitely look more into it, but ideas welcome.

Would it make sense to merge integration-tests.yaml and unit-tests.yaml

I wasn't quite sure if there was an easy way to do that. Can definitely look more into it, but ideas welcome.

Here is an example that i found on https://docs.github.com/en/actions/learn-github-actions/contexts
name: CI
on: push
jobs:
  prod-check:
    if: ${{ github.ref == 'refs/heads/main' }}
    runs-on: ubuntu-latest
    steps:
      - run: echo "Deploying to production server on branch $GITHUB_REF"

Thanks a lot for working on this @dacort! I agree with @ksumit's points and if you feel like this is good to go as is, we could merge it to restore CI functionality for the project.
Post-merge would it be possible to run this for PRs received recently where the builds were not kicked off (such as #396)?

Thanks @gyogal - Yea, @ksumit I think for now we should merge this. I imagine the PR workflow and unit-test workflow will diverge in the future so would rather get this merged and iterate.
@gyogal re: run the checks retroactively, I don't think it'll happen automatically but if folks push another commit it should.


fix typo in docs

Issue #, if available:
Description of changes:
small typo
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test


Disable video display in pose_camera.py

Hi,
I need to disable the video output displayed by pose_camera.py.
I am unable to understand where in the code the command to display video on a screen is. Could someone please point me to this?

The video display is part of the gstreamer pipeline.
Look at gstreamer and see how each pipeline ends in either "waylandsink" or "autovideosink".
If you want a different sink, just replace that with one of the many sinks gstreamer provides.
If you want to completely disable it you can replace it with "fakesink". However in that case I would
suggest removing the entire display branch of the 'tee' and get rid of the overlay code as well, for performance reasons.

Hello
@mtyka . Could you give more detail how to disable the camera streaming in order to increase the FPS?
Here https://github.com/google-coral/project-posenet/blob/master/gstreamer.py#L349
I replaced autovideosink with fakesink. I tried to delete some lines as you suggested in the code above. However, I am getting error. Which lines exactly should be deleted ?
Thanks


[BugFix] AD15 nacelle reference position was set to hub position

This PR is ready for merging
Feature or improvement description
The AeroDyn 15 nacelle reference position was set to the hub reference position.
The effect of this is likely very small since mesh mapping at the glue code accounts for any location differences, and aero loads on the nacelle from AD15 would be nearly identical calculated at the correct nacelle location or at the hub.  However, buoyancy loads on the nacelle were applied at the hub rather than nacelle location, but mapped to the nacelle in the glue code which would result in an unexpected moment.
Related issue, if one exists
#957
Impacted areas of the software
This likely only affects buoyancy loads on the nacelle the MHK feature under development.

@bjonkman, could you review this?


the error is occuring after installing the flowcharting plugin , just after selecting it from visualisation,the version is 0.9.0

Try beta in download section

The issue is resolved Thank you


[Flink] Arctic table supports real-time dimension table join

Background:
There are some requirements for real-time data widening. Now hive supports lookup join, but this solution is not available for production, and the hive table needs to be loaded into memory. Large tables are prone to oom problems. Besides, neither Iceberg nor Hudi support lookup joins.
Here is a summary proposal:
Flink affords the event time temporal join. The right table will be used as a version table, and its data can be managed in rocksdb instead of memory.
-- create a left table, using localtimestamp as event time.
create table source (
  ...,
  arcitc_process_time AS LOCALTIMESTAMP,
  WATERMARK FOR arcitc_process_time AS arcitc_process_time,
) with (...);

create table arctic_dim (...) with ('connector'='arctic', 'dim-table.enabled'='true');

select * from source as O left join arctic_dim FOR SYSTEM_TIME AS OF O.arcitc_process_time as P on O.id = P.id;

The arctic source will automatically create a custom watermark strategy if dim-table.enabled equals true.

Hello @zstraw could you share your design document here?

Hello @zstraw could you share your design document here?

Here's a quick design doc.
https://docs.google.com/document/d/1gYgZsHRHnlFr-fqPMv1xqv_wo5lc4_paMseGselGlUM/edit?usp=sharing


Type information lost when destructuring a function result tuple

TypeScript Version:  3.4.0-dev.20190313
Search Terms: type information lost during/when/upon/if destructuring a function result tuple
Code
function foo<T = number>(): [T] {
	return [42 as any]
}
const [x] = foo()

Expected behavior:
const x: number

Actual behavior:
const x: any

Playground Link
Related Issues: https://github.com/Microsoft/TypeScript/issues/5416 (an old one)

Regression from 2.3 -> 2.4


Issue #775 - main workflow and exit handler should has connection

Resolves https://github.com/argoproj/argo/issues/775

Closing PR since we decided to implement special handling in UI for onExit workflow rendering


Please accept my invitation

Github Username : Shinyinight
Mail<EMAIL_ADDRESS>I also want to learn and contribute to this organization with something.

Hello @Shinyinight , happy to have you here at openAOD, I have sent an invite to join the org


Users appear logged in when they're away or offline

I confirm (by marking "x" in the [ ] below: [x]):

[x ] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[ x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[ x] I have read contributing guidelines.

https://mattermost.atlassian.net/browse/MM-14182
Summary
People appear to still be logger in even if they're computer is shut down of sleeping.
Environment

Operating System: Windows 10 Pro
Mattermost Desktop App version: 5.6.0
Mattermost Server version: 5.6.0

Mattermost Enterprise Edition
Mattermost Version: 5.6.0
Database Schema Version: 5.6.0
Database: postgres
Build Hash: 0c1207215852a8726c3f09dea157d597fec368df
EE Build Hash: 2c2d33b22b4c2938938eade4b9914748c1be9d3b
Webapp Build Hash: 71d31890dcfaebbce350b5a93cccb44094d74a5d
Steps to reproduce
2 people log in to mattermost server & download mattermost app.
The 1st leaves the app open but locks his computer.
Both wait a few hours
Expected behavior
The 2nd person should see the 1st person as being offline or away.
Observed behavior
The 2nd person sees the 1st person as being online

Possible fixes

Hi @Albyorix, would you be open to taking a look at this section in our troubleshooting docs: https://docs.mattermost.com/install/troubleshooting.html#user-statues-get-stuck-on-away-or-offline-status?

Jira ticket for tracking: https://mattermost.atlassian.net/browse/MM-14182

Hi @Albyorix, what desktop app version are you on? Also, would you be open to upgrading your server version to see if you can still reproduce this on a more recent version?

I'll close this for now as we haven't received feedback for a while. Please re-open this if the issue persists on the latest desktop version v4.4.0.


Do you think about to implement the group feature ?

Hello,
just a quick question. Do you think about implement the group feature ?
Would be awesome. So far your work is amazing.

Looks like the same as in https://github.com/VictorNine/bitwarden-go/issues/12

Thank you for your great support, I will try it later!

Just for your information, have basically implemented the organization feature. So if you want to try it, you can use my forks master branch.
I plan to submit a pull request in the next time, but as I have done major changes it is hard to make my branch compatible with VictorNines.

I cleaned up @Odysseus16 's branch a little, enough to make it work better for us in my own branch[0].  I have no desire to build a PR for this repo, but someone else is welcome to do it.  We ended up going a different way after all (using hashicorp vault).
0: https://github.com/csawyerYumaed/bitwarden-go


Error: command 'extension.startServer' not found

I get the following error message when trying to run Remote: Start Server
Error: command 'extension.startServer' not found

Do you have more details regarding the issue?
I use the extension every day, and I didn't notice any problem.

@rafaelmaiolla I literally just installed today and get that error every time I try the command.

ok, I will investigate the issue with a fresh install.

There is a new version of the extension, could you please check if it is working?


Mixed http+https preventing the heroku code from running

Got his error on launching https://brainspell.herokuapp.com/view-article?id=18255103
Blocked loading mixed active content "http://spin.js.org/spin.min.js"

Could you try this one again, it should be corrected.

it's fixed! thank you : )


Bot Doesn't Work

Expected Behavior
Bot should start
Actual Behavior
Bot doesn't start
Your FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/eATK5yUf
Output when issue occurred
http://pastebin.com/kPzwdvE1
Steps to Reproduce
I've reinstalled the python. Then run "pip install -r requirements.txt" and "pip install virtualenv"
Other Information
OS: Windows 10 x64
Branch: master
Git Commit: ed095936e8fb2bdb7442c9966630664f0cb739ea
Python Version: 2.7.12

Now I made a fresh install. It was causing pgoapi 1.1.6. I deleted the folders and reinstall. Then again there was a problem with my encrypt.dll file. It wasn't accept 64Bit file. I don't know why, I used 32bit version and it started to work.


Minimal theme is deprecated

It seems the minimal theme is deprecated in favour of a new minimal theme
The new theme looks nice, any chance of getting it integrated into zim?
//Emil

The "new" minimal theme is seemingly very new and has a completely different look (and likely new implementation, however I have not looked). Let us give it some time to see what happens. While the current theme has been deprecated, I have not noticed any overt problems (and if there are, we can always patch it directly).

Personally I prefer the now "deprecated" minimal theme over the new one, so I'd say that retaining the old version and maybe adopting the new one as seperate choices might be the way to go.

Adding to the discussion: we don't use the original minimal theme code anymore, but instead we have a customized version of that same theme that makes use of Zim modules (git-info) and functions (short_pwd).

As I've moved to the new minimal prompt quite a while ago and moved my custom zsh stuff into the custom module, I've also customized it to use git-info as well. The newer version has a different pwd shortener, so I couldn't use short_pwd but it seems to work overall.
The newer version uses a lot of ANSI codes (it even uses a number to set the only highlight color in use), so I haven't put a lot of work into cleaning up those.
If you're interested I could create a PR for that first version - any suggestions for the name? Minimal_2? Minimal_New? Also would I need to include the zsh-theme as well as the setup symlink?

Created the PR as promised - took 3 commits to get it right, but have it running on all my systems already: #233


Add Google Authenticator 2FA option

I don't know why you would really care about 2FA on this extension, as we've done a good job of storing no private data on the server un-hashed (no passwords/messages), but it would make me happy so...

@shobrook has tagged Aaron's happiness as low-priority

this is never getting done I'm sorry


Fix linting under conda run

closes #18364

@kimadeline @paulacamargo25 Do let me know if there are any changes you want in this. I will be merging this for bugbash.

Nice job, having the linter settings in one file will help us a lot in the future.


Barcode scanning  real time camera

Can this plug-in scan bar-code in real time with a camera preview?

If flutter can capture screen, realtime detection is available by using detectFromBinary I/F.


backward/forward compatibility for Tools (cdx 1.5)

Hi :)
I've been following the progress of cdx1.5 support in this library for quite some time now. I've noticed tools such as Trivy already used in production (trivy cli tool).
I wondered about your approach to maintaining compatibility (read/write) for Tools. It's the first time you've had to change the actual field type. Will you use an overriding mechanism, such as implementing UnmarshalJSON and convert old slices into the new model?
The decoding part is much more apparent as convertTool would probably be used for this purpose.
Can I work on this solution? I'd like to see a v1.5 compatible version of this library in the stable release.

Hey @manifestori, appreciate you reaching out!
The tools change has given me a bit of a headache if I'm being honest. Here are my thoughts:

The original Tools was not removed in v1.5, but only deprecated. So even users generating BOMs following v1.5 of the spec should still be able to use it. This means we cannot simply convert legacy tools to tool components etc. when encoding.
If we want to stay backward-compatible, the current Metadata.Tools field must stay as it is, which means adding support for the new tool types would require a new field. For lack of a better name, let's call it ToolsNew for now.

What I think should happen:

When encoding for a spec version lower than v1.5, tools specified as components or services will need to be converted to legacy tools (implies potential loss of information).
When encoding, a custom MarshalJSON and MarshalXML for Metadata must check both Tools and ToolsNew. If both are set, that's an error. If only one of them is set, encode its content as tools.
When decoding, a custom UnmarshalJSON and UnmarshalXML for Metadata must inspect the tools node, and populate Tools or ToolsNew accordingly.

I'd love to avoid having to maintain custom marshalling logic for Metadata , so definitely open for other suggestions if you have any! Also, if you'd like to help here, that'd be much appreciated for sure.

We would never be able to approach this without custom logic for MarshalXXX and UnmarshalXXX as Tools cannot be a slice and not a slice at the same time :)
I liked you're approach for going with ToolsNew probably changing current tool to ToolsLegacy and making Tools as the existing spec format.
A different approach would be to change Tools to the new spec. converting older spec versions Tools into the new structure when encoding wouldn't be too hard; those "fake" components would have some fields missing (bom-ref, etc)
when decoding to older spec, we can just convert Tools.Components/Tools.Services back to the list of legacy Tools.
We just need to decide how to convert vendor. (author? publisher? group? supplier?)

Yeah I figured, but that's close enough.
So basically, adding ToolsLegacy for older specs, and use Tools for current spec.
I guess cdx spec won't change Tools again soon ;)

Yeah that sounds like a good way forward!

I guess cdx spec won't change Tools again soon ;)

Sure hope so...

Are you looking for community contributions or is it already on your roadmap @nscuro?

hey @nscuro , +1 on the above, is this high on your priority list? otherwise happy to contribute the fix myself

Thanks @northdpole, appreciate the offer! It would indeed help immensely if we could get this contributed, as I am a bit burried with other stuff. However, if this is critical for you and potentially others, I may be able to re-prioritize.

it's not critical at the moment as most tools I use support format definition, i'll try and get to this in the next 2 weeks

sorry folks, I've ran out of time to do this, please don't wait for me

So the way I've settled on is this:

The type of Metadata.Tools and Vulnerability.Tools changes from *[]Tool to *ToolsChoice
ToolsChoice holds both "legacy" *[]Tool, as well as the new *[]Component and *[]Service fields
The Tool type, as well as the ToolsChoice.Tools field are marked as deprecated
During encoding and decoding, it is asserted that only one of both options can be present
When encoding to lower spec versions, Components and Services are converted to legacy Tools


Issue with Demorgan Definition of AND

Thank you for the project! Was super fun!
I tried defining AND in terms of NOT and OR and my definition does not seem to work. I believe this to be a bug? https://en.wikipedia.org/wiki/De_Morgan's_laws
AND:=λab.NOT(OR(NOTa)(NOTb))
AND: λa.λb.(λa.λb.λc.acb)((λa.λb.a(λa.λb.a)b)((λa.λb.λc.acb)a)((λa.λb.λc.acb)b))
<assignment>

> AND FALSE FALSE
λb.λc.c
<function, church numeral 0, church boolean false>

> AND FALSE TRUE
λb.λc.c
<function, church numeral 0, church boolean false>

// This case here doesn't seem to evaluate properly?
> AND TRUE FALSE
λb.λc.b
<function, church boolean true>

> AND TRUE TRUE
λb.λc.b
<function, church boolean true>(+)

Tried doing this myself, defining NOT and OR, with
TRUE := λab.a
FALSE := λab.b
NOT:=λa.a FALSE TRUE
OR := λab.a TRUE b

This one copied from your issue above,
AND:=λab.NOT(OR(NOTa)(NOTb))

Seems to give me a proper AND:
> AND FALSE FALSE
λa.λb.b <function, church numeral 0, church boolean false>
> AND FALSE TRUE
λa.λb.b <function, church numeral 0, church boolean false>
> AND TRUE FALSE
λa.λb.b <function, church numeral 0, church boolean false>
> AND TRUE TRUE
λa.λb.a <function, church boolean true>

Trying this out with NOT:=λa.λb.λc.acb, I can recreate the issue you've found.  Something's very fishy indeed.

Ah my bad on not giving the other defs

Reproducing fails with NOT:=λm.λn.λo.mon, which should be equivalent. Some naming issue pops up

These should be equivalent, but they execute differently:

Yikes, dependent on both a name collision in the automated alpha conversion and the target variable.

Reproducing in the spec: https://github.com/evinism/lambda-explorer/pull/127

Let's analyse it, under the preface that I didn't actually run any of this and it's purely manual code analysis.
To be on the same page, the issue is that spec occurs with this piece of AST:
{
  type: "function",
  argument: "b",
  body: { type: "variable", name: "b" },
}

This function does not contain $\epsilon_1$, so this will not lead to any collisions, but the $\alpha$-reduction cannot know this ahead of time.  (Or at least, shouldn't have to.)  (And the case where it does contain $\epsilon_1$ should also be handled correctly.)
So in the capture avoidance step it then has to generate a new name.  As far as the system is concerned, I believe the free variables are:
const freeInReplacer = ["b"];  // The outer variable that the lambda is applied to.
const freeInExpressionBody = ["b"];  // This is actually not true, but irrelevant to this specific issue.


Accidentaly hide the side bar, how do i restore it?

I try to uninstall and reinstall specify, but the sidebar still hidden.
I try to restore the backup and reinstall the theme, but the sidebar is still hidden and I don't know what to do to unhide them.

how did u hide it?

Is this due to the new re-sizable sidebar?

Is this due to the new re-sizable sidebar?

Sorry, this is was Dribblish not Dribblish 2.0


refactor(traverse): improve parsing attrs in traverse codegen

#3879  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Enable signatures for historical drafts

This change allows an IMessageSigner or IMessageVerifier to specify custom ISignatureComponentVisitors. This is useful to interoperate with services that target older drafts of the Http Signatures spec. Unfortunately, I think this is still kind of difficult to accomplish, because it would require replacing the entire default message signer and verifier with nearly identical custom implementations through DI.
Alternatively, if the default signer and verifier can be unsealed and refactored a little, then they can be inherited and changing the visitor they use can be much less demanding. But that's a more substantial change to NSign, and I wasn't sure you'd appreciate that.
Do you have any thoughts?

Absolutely! I'm hoping to have at least signing done today, and I can share what I end up with.


Used better English

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Improvement

Short description (up to few sentences): Better English and more explanation.

Deleting because further improvement


Add nappy external resource

Fixes
Fixes https://github.com/creativecommons/search/issues/115 by @dikehprosper
Description
Included Nappy in the external sources section of the CC search portal along with the redirection functionality to Nappy search
Technical details

Added the Nappy element to the page (html) at the correct position following lexicographical order, in index.php
Implemented the Nappy search redirection functionality in both the index.php and search.js files

Screenshots

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

The external source list should follow lexicographical order as indicated by @TimidRobot in this issue #109

@dullbenz working on it

this is a new screenshot with the latest change(engines corrected to lexicographical order

@dikehprosper Looks like the PR is a little out of date with main

@possumbilities its up-to-date now ma'am

@dikehprosper In following with the rest of the file conventions, when you're adding the term nappy in the codebase, it should be lowercase to match all the other engines use cases as well. In most cases you have it has Nappy, when all the other engines are using full lowercase instances.

@possumbilities working on it now

@possumbilities thanks ma'am


Update README.md

In reference of this issue and comment: https://github.com/easingthemes/ssh-deploy/issues/149

Thanks


Fixed #24689 - DetailView get_template_name and get_context_object_name fail with deferred QuerySet

When using DetailView with a deferred queryset get_template_names would construct template name from a proxied model. This pull request implements a check if an object is deferred uses proxy_for_model in case of deferred objects.

Could you please add tests?

Sure will do that in the nearest time.

buildbot, add to whitelist.

Added tests and simplified checking if object is deferred.

Could you try to test the modified methods directly similar to how it's done in https://github.com/django/django/pull/4512 instead of requiring the views to be wired up to a URLconf?

Fixed although one build failed. Perhaps because I overwrote commit history by rebasing locally and then forcibly pushing to origin?

Please squash commits when making those updates, thanks!

Code looks good, but there is still a failing test.

Everything looks fine now, squashing, rebasing and amendments probably confused CI :)

merged in 86aaffa5a3510c007167d116cf4ad72b79e93f31, thanks!


"します。そうしたら。。。Else ステートメント" needs to be replaced with "If...Then...Else ステートメント"

https://docs.microsoft.com/ja-jp/office/vba/language/concepts/getting-started/using-for-eachnext-statements

@hyoshioka0128 The article has been HumanTranslated and published live. Issue is fixed


[simdjson] Update to 0.5.x

Describe the pull request

What does your PR fix?
N/A.

Which triplets are supported/not supported? Have you updated the CI baseline?
N/A. No.

Does your PR follow the maintainer guide?
Yes.

Ready for review?

Ready for review?

Yes. Please.

LGTM, waiting for test complete.

ninja: error: 'D:/installed/x64-windows-static/debug/lib/openblas.lib', needed by 'test/ceres/test_ceres_se3.exe', missing and no known rule to make it

Thanks for your contribution!


Redesigned Jupyterlab Tutorial/Tour Page

About page is donezo, now with moving tutorial images and all that jazz!
Let us know what you think!
Team Callisto (@rnetro @roshancvp @matt-bowers )
and obviously pix or it didn't happen

:-D

This is failing because the filebrowser webpack config file needs the same loaders config as the lab example (since it needs to load an svg file now).
ModuleParseError: Module parse failed: /home/travis/build/jupyter/jupyterlab/examples/filebrowser/node_modules/jupyterlab/lib/about/images/next-arrow-sprite.svg Unexpected token (1:0)

@blink1073 how would I go about doing that?

Copy the loaders section from examples/lab/webpack.conf.js to the examples/filebrowser/webpack.conf.js file.

Okay, my bad, please use the loaders config from https://github.com/jupyter/jupyterlab/blob/master/jupyterlab/webpack.conf.js

Ok I just rebased and fixed the loaders. Hopefully that should be it 😎

Ugh, please run npm install --save-dev url-loader from the filebrowser example...

Looks like the terminal example needs the same treatment (webpack config and loader install).

If this doesn't work I'm going to have Travis's head

Get in line 😉

ofmg Travis ily

Should there be different animations on each "page"?  I'm seeing the main area one for each.

Yes the gremlins are finishing those right now. I'll re-push when they are done.

Gotcha.

Looks great! Just a couple minor nits.

@blink1073 this might need to wait until @matt-bowers and @rnetro finish redoing the logos so they match our new blue theme, thoughts?

Sounds good, let's wait.

@ellisonbg rebased and ready to go
Screenshots:


Add: Aio Sport 1

Channel Name
Aio Sport 1
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
IR
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
s/IR-23
Languages
fas
Categories (optional)
sports
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://www.aionet.ir
Logo
https://assets.aionet.ir/channels/100347
Notes
No response

Please update your request:

broadcast area code is incorrect
language code is incorrect

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Please update your request:
* broadcast area code is incorrect

* language code is incorrect

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

you're right i'm sorry, i fixed it


Issue with experimental island router

When enabling the island router, the .authenticate() doesn't redirect to the auth0 login screen.

Thanks for reporting this. I haven't tried the island router yet. I'll have a look when I get a chance, but feel free to add a PR in the meantime, if you know how to fix this.


Violation of PRIMARY KEY constraint 'PK_PersistedGrants'

Issue / Steps to reproduce the problem
We are seeing in our production exception logging messages about a violation of the primary key constraint PK_PersistedGrants. We have never seen this in development, so I do not know specific steps to reproduce or the impact of the error. It only happens a few times a day from thousands of requests, so it is rare, but I wanted to get the community's thoughts on it.
Thanks
Relevant parts of the log file
Unhandled exception: An error occurred while updating the entries. See the inner exception for details.Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_PersistedGrants'. Cannot insert duplicate key in object 'dbo.PersistedGrants'. The duplicate key value is (---removed---).The statement has been terminated.   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()   at System.Data.SqlClient.SqlDataReader.get_MetaData()   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)   --- End of inner exception stack trace ---   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(DbContext _, ValueTuple`2 parameters)   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IReadOnlyList`1 entriesToSave)   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)   at IdentityServer4.EntityFramework.Stores.PersistedGrantStore.StoreAsync(PersistedGrant token)   at IdentityServer4.Stores.DefaultGrantStore`1.StoreItemAsync(String key, T item, String clientId, String subjectId, DateTime created, Nullable`1 expiration)   at IdentityServer4.Services.DefaultRefreshTokenService.UpdateRefreshTokenAsync(String handle, RefreshToken refreshToken, Client client)   at IdentityServer4.ResponseHandling.TokenResponseGenerator.ProcessRefreshTokenRequestAsync(TokenRequestValidationResult request)   at IdentityServer4.ResponseHandling.TokenResponseGenerator.ProcessAsync(TokenRequestValidationResult request)   at IdentityServer4.Endpoints.TokenEndpoint.ProcessTokenRequestAsync(HttpContext context)   at IdentityServer4.Endpoints.TokenEndpoint.ProcessAsync(HttpContext context)   at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events)

What database are you using?

It's an MS SQL database.

@jwcao   Which version of Ids are you using?
What does the index look like in production?  Hers mine.
/****** Object:  Index [PK_PersistedGrants]    Script Date: 5/27/2019 10:31:57 AM ******/
ALTER TABLE [dbo].[PersistedGrants] ADD  CONSTRAINT [PK_PersistedGrants] PRIMARY KEY CLUSTERED
(
	[Key] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
GO

@brockallen if it helps i am running the latest and greatest IDs.    MS SQL server with entity framework.  I checked my logs for the last month I am not seeing it in test or production.

I have another customer with a similar issue because the DB column is case insensitive, but the value we generate case sensitive (because the encoding)..

Our database column was case insensitive, but we updated it to be case sensitive, and we are still experiencing this issue. Specifically it was changed from SQL_Latin1_General_CP1_CI_AS to  SQL_Latin1_General_CP1_CS_AS.

Ok, I had a look and the implication of my comment above was incorrect. For some reason I thought we were using base64 encoding for the value, but we're hex encoding (which should not matter for the comparison). On a side note, now it makes me wonder what other customer's case sensitivity issue I was [mis-]remembering.
In any event, I'm not sure what the issue is then. What are the chances that you are re-creating the same 32 byte random number? The underlying value is created from the object returned from RandomNumberGenerator.Create, which is documented here: https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.randomnumbergenerator.getbytes?view=netframework-4.8#System_Security_Cryptography_RandomNumberGenerator_GetBytes_System_Byte___.
So the only thing I can think of is perhaps somehow the SQL statement is being issued twice to the DB? Perhaps there's some re-try feature in the SQL connection config?

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.


Move the HLD diagrams to https://app.diagrams.net/ and keep it in our repo

Note that phases have been abandoned now and we are just working towards the Phase3 HLD for now.

@timberhill or... we could use Mermaid which @chipe88 showed me the other day 😀

Oh, haven't seen it. Your call, I don't have strong feelings :)


Better way to handle multiple players?

Can there be a better way to handle multiple players? Like passing in a selector class (like .audio-player) as an option. Instead, this is what I'm currently doing:
        <div class="audio-player mt-2" id="player-{{ $loop->iteration }}">
            <audio class="mt-2" controls controlsList="nodownload" rc="{{ $rc->id }}">
                <source src="{{ $rc->url() }}">
                Your browser does not support the audio element.
            </audio>
        </div>

        $('.audio-player').each(function(index, value) {
            var id = $(this).attr('id');

            new GreenAudioPlayer('#' + id, { stopOthersOnPlay: true });
        });

So something like this would be a lot cleaner:
new GreenAudioPlayer({
    selector: '.audio-player',
    stopOthersOnPlay: true
});

Hi @futzlarson thank you for raising the issue! I will add that in the upcoming version

Hi @futzlarson , I've added a static method to init multiple players easily:
GreenAudioPlayer.init({
    selector: '.player',
    stopOthersOnPlay: true
});


Print correct inbox name

INBOX may be the default, but it is unsafe to assume it won't change and hardcode the name.

I agree. Thanks


remove runInjectorPipeline from DataflowExampleUtils

depends on https://github.com/apache/incubator-beam/pull/582 to get in first.

R: @dhalperi

LGTM


[ feature request ] Export to env

It would be nice to create a Record and have the output be type specific. Eg.
type Person = {
  name: String,
  age: Int,
};

let john = {
  name: "John Doe",
  age: 99,
};

output:
NAME="John Doe"
AGE=99

AFAIK, environment variables are always text. I'd expect the following output to be equivalent
NAME=John Doe
AGE="99"

Where are you passing the output to and do you actually get errors with my output?

side note: your snippet is missing the type annotation (Person)
let john: Person = { ...

maybe an "unused type" warning would be a good thing

@denfren I'm passing the output to Taskfile . Your example doesn't cause any errors.
I'm looking for the formatting. The .env formatting would make sure to:

automatically uppercase variable name: NAME=... instead of name=...
trim white space between variable name and value: NAME=... instead of NAME = ...
give visual cues about variable type: NAME="..." instead of NAME=... for String, and no quotes for Int or Bool


 "Good ideas can come from anywhere." and "Participants should be tolerant of others." are the two most priveleged statements I've seen in a project. Adopt the contributor covenant if you want to have a code of conduct that means something. Or just go back to being pissed off at people and "just blowing situations up". you're good at that.

I'm going to choose to respond to the specific issue you have taken with the code of conduct and not any personal jabs that were included.
If you have any grievances with members of this project, please do not air them here. If instead you would like to try and convince me to switch the code of conduct, I'm at least open to a discussion on why I should, but I'd like to address the specific things that have been said about the current one first.
"Good ideas can come from anywhere." and "Participants should be tolerant of others." are the two most priveleged statements I've seen in a project.
These are both statements that I wrote. So for the sake of having a constructive discussion, I'm fine to read everything here in the most charitable light regarding bringing privilege into it.
I could have more accurately written something to the effect of:

While good ideas can come from anywhere in theory, in practice much of the knowledge those ideas are built upon isn't accessible to everyone in an equal fashion.

I don't disagree that there are circumstances and environments which provide more opportunities to learn about things that could spark ideas built on existing concepts or that certain environments grant those fortunate enough to be in those enviornments more time to have the luxury to spend dreaming ideas.
With all of that said, at its core the statement was to the benefit of not dismissing ideas no matter who came up with them. While these qualifiers are good to be aware of and they should be things that are said and worked on, saying them in this code of conduct would not help improve those inequalities.
Participants should be tolerant of others.
The very next line is

Personal views and beliefs are not to be used to excuse harassment or any other behavior which is harmful to others collaborating.

And I'm also a firm believer that valuing tolerance mandates being intolerant of intolerance. I will not personally allow tolerance to be used as a shield for bullies and those with power to hide behind in situations where I have the ability to act.
Adopt the contributor covenant if you want to have a code of conduct that means something.
I want the guidelines to fit in a single screen and be easily understood. I feel like I may have missed the mark on that given the issues you have with the wording.
While I do not like the way in which this issue was brought up, I am open to changing the wording to help make this more welcoming and clear.
However, I do not like the contributor covenenant. I feel that it is extremely broad and raises questions about where it actually applies that makes it my job as someone moderating this space to also moderate other spaces which I have no moderation capacity in.
If you have specific suggestions for improving the wording I have used here or reasons why I should consider the contributor covenant despite my issue with it, I am happy to consider them.
For now, I'm closing this issue, but I will remain engaged with any further responses if the discussion can remain productive.


[ServiceBus] Added two properties to Queue - forwardTo, forwardDeadLetteredMessagesTo

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1959

Codecov Report

Merging #1618 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1618      +/-   ##
==========================================
+ Coverage   55.58%   55.58%   +<.01%
==========================================
  Files        3850     3850
  Lines       93459    93459
==========================================
+ Hits        51945    51946       +1
+ Misses      41514    41513       -1

Impacted Files
Coverage Δ

...vicebus/models/regenerate_access_key_parameters.py
100% <ø> (ø)
:arrow_up:

...servicebus/models/authorization_rule_properties.py
83.33% <ø> (ø)
:arrow_up:

...mt-servicebus/azure/mgmt/servicebus/models/rule.py
100% <ø> (ø)
:arrow_up:

...ure/mgmt/servicebus/operations/rules_operations.py
81.7% <ø> (ø)
:arrow_up:

...e/mgmt/servicebus/operations/regions_operations.py
35.48% <ø> (ø)
:arrow_up:

...gmt/servicebus/operations/namespaces_operations.py
90.07% <ø> (ø)
:arrow_up:

...ervicebus/models/sb_namespace_update_parameters.py
41.66% <ø> (ø)
:arrow_up:

...ervicebus/azure/mgmt/servicebus/models/sb_topic.py
100% <ø> (ø)
:arrow_up:

...bus/azure/mgmt/servicebus/operations/operations.py
37.93% <ø> (ø)
:arrow_up:

...us/azure/mgmt/servicebus/models/sb_subscription.py
100% <ø> (ø)
:arrow_up:

... and 20 more

Continue to review full report at Codecov.

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

Done in https://github.com/Azure/azure-sdk-for-python/pull/1682


Credit the authorship of icon

Icons made by Madebyoliver from www.flaticon.com is licensed by CC 3.0 BY

https://pttalertor.dinolai.com


Fix (import project): remove forbidden chars in file name

removed due to this PR, which covers the current PR.


Implement client authentication

An ALISE instance collects personal data about individuals.  This information should probably be protected so that only authorised clients can access the information.
For example, the ALISE admin might request an application key from ALISE and configure a specific client to use that application key when making requests.  The client could present the application key as a bearer token, using the HTTP Authorization header, when making requests to ALISE.
Note that the above example is meant only to illustrate the idea.

Thanks for bringing this up. I was waiting for actual usage before progressing here.
The simplest form of client auth could be to simply pass the access token of the user. If that's valid, I could return all linked IDs.

Hmm, I'm not sure about using the user AT as the service authentication is robust.
The point here is to identify the service making the request; for example, identify the dCache instance that Vega is running.
It's not guaranteed that an access token identifies the service.
There's actually a lot of detail skated over in that statement (aud claims, JWTs, etc), but I think it's generally true.
I think having some kind of token as a shared secret between the service and ALISE is the minimum that would be robust.
The "correct" approach would be to implement OAuth2 and use this to authorise access to parts of (possibly all of) the ALISE request path.  However, I think any shared secret should work.

Would it be a good idea, if I add one endpoint for creating an API key?
That endpoint would be authorized by :drum:  an access_token of the developer

I think the simplest solution would be to have a database table with a list of API keys.  Each key is just a base64 encoded random number (with suitable number of bits).
ALISE would provide some out-of-bound way to generate a new API token, add it to the database table and report the token to the admin.  For example, this could be a command-line tool that generates the token, injects it directly into the database table and prints the token on the console.  The assumption here is that anyone who can directly manipulate the database is the admin (and has access to all the information anyway).
When an API request is made (e.g., dCache calling out to ALISE), the client (e.g., dCache) provides the API token in the HTTP Authorization header (Authorization: Bearer TOKEN).  ALISE would compare this with the tokens in the database table containing all the tokens.  It then rejects the request if there's no match.


Fix numpy import error during pip setup

pip install fails because setup.py script imports numpy

The sys path reload did the trick. Now pip install works properly.
-> add tests to the GitHub workflow to ensure that the PyPi package can be installed
close #10


Can't import dependency

Hi. Dependency is not searchable in maven central, additionally when trying to import as mentioned in README.md Maven can't find it anywhere.

Yes, I got the same issue. Dependency is not there to find

Hi folks,
Thanks for letting us know.  We have updated the README to properly reference the right path in Maven Central.  It should work now.


Other layers and their documentation

I have a few question:

Has mxnet additional layer types as merging and splitting layers for CNNs?
Can I find somewhere some documentation of them?
Has mxnet additional layer types for other kind of NNs like RBM for DBN?

Thank you for your efforts!
George

We have concat and split layers. You can find the docs with help(mxnet.sym)

@piiswrong Thank you!

I can't find split layer, is it SliceChannel?
Thank you


Get time from chunk

Great stuff @rpurdel ! You'll need to rebase so resolve some conflicts from the faster0-whisper package update, LGTM otherwise!


Fix airgapped optional docs

Description of changes: Optional airgapped instructions from the airgap-steps.md file were not appearing in the text when that file was read into getting-started/airgapped/airgap-steps.md and clustermgmt/cluster-upgrades/airgapped-upgrades.md files. To fix that, I moved that content directly into the airgap-steps.md file.

/cherry-pick release-0.17


Usability issues apply button

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-555
Link to staging deployment URL
https://ui-pa8qc38qq3ry6b4quhd59hpbjc.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
When changing settings, update settings actions were dispatched and the plot was refreshing without pressig the apply button.
Code changes
The changes are saved in an object called 'changes' and when the apply button is pressed, the state is changed to the 'changes' object.
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[x] Tested locally with Inframock
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

There are merge conflicts, also could you deploy to staging?

For 'clustering method' we should show a message about Leiden and SLM not being enabled for now, but instead it shows the same message about cosine.

This is just and idea, do you think we could, instead of showing the tooltip on the Select, show it for the Options that are disabled?

I looked at staging, everything looks good apart from this one in the screenshot -- the tooltip in this case should say Leiden or SLM and also should appear only when the user hovers over either of them. Right now it appears even when I hover over Louvain.

This is just and idea, do you think we could, instead of showing the tooltip on the Select, show it for the Options that are disabled?

When you wrap a single option with a tooltip in antd it just doesn't display the option.


Added MSI Installer

Fixes issue #154

Done with AppVeyor, the release is automatically pushed to GitHub and Chocolatey.


⚠ Samsung has degraded performance

In 06d4e45, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2393 ms

Resolved: Samsung performance has improved in a3438ea.


the loss of daeldg

https://github.com/KaiyangZhou/Dassl.pytorch/blob/5e83fdce6fb51d8d4fbe0441a016eade2ebda423/dassl/engine/dg/daeldg.py#L124-L131
Hi, I think there is something wrong with the loss in daeldg.py.
Why the 'loss' is assigned to 0?  This will make the supervised loss be invalid.

very good spot, thank you
it was a typo when I transferred the private code to here
supposed to be loss_x but fixed now


Add specific hostname connection option for accumulo shell

Is your feature request related to a problem? Please describe.
The accumulo shell communicates with the system by connecting as a random tserver.
This can be problematic as information like property site config information is based on the specific tserver connection.
Describe the solution you'd like
The shell should accept a specific tserver hostname parameter that it will attempt use for its connection details.
This change allows users to debug issues with a specific tserver.

This is not something our API supports. The shell should only use our public APIs. If we want to add this feature, we should add something to the AccumuloClient to use a specific server. However, this is tricky, because our client code only uses a random server for certain operations, and the set of servers from which it chooses depends on the specific RPC service type being used for that specific operation.

An alternative to adding new APIs is to have the implementation read specific system properties that can be added for troubleshooting. For example, we could have properties that look something like:
org.apache.accumulo.client.rpc.<serviceType>.host=<host:port>

And then, if that property is set, instead of randomly selecting one, it just connects to that specific one for that specific service type. If we did this, it should just be set as a system property, though, and not added as a shell-specific command-line or connection option. The user could customize their accumulo-env.sh to add it to their JAVA_OPTS if they wished. Or they could set JAVA_OPTS themselves when they run bin/accumulo shell.

The accumulo shell communicates with the system by connecting as a random tserver.
This can be problematic as information like property site config information is based on the specific tserver connection.

I believe the random behavior that you are referring to only happens when the client is executing a method from the ClientService or the TabletServerClientService.
The random connection logic is located here. Looking at the methods on the TabletServerClientService$Iface, I think we should support specifying a specific server name for the ClientService only.


Add ability to avoid dependency on ncurses

There's no need in ncurses if I have my own implementation of Terminal.
I've made feature default-terminal which includes DefaultTerminal in the crate and marked this feature as default.

So, here's the thing. I'm currently working on a set of big changes for linefeed. Among them is the complete removal of the ncurses dependency, in favor of a pure Rust implementation (based on the terminfo crate).
Admittedly, I'm not so great at breaking up big changes into smaller commits. When these changes are complete and after users and contributors of linefeed have had time to offer input, I'll publish a new release.

Oh, that's cool! I look forward to these changes.


State changed for damages claim

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-5234
Change description
State change for damages claim
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

No longer needed. This was handled in CIV-6204 and its PRs.


Bluetooth: controller: Add connectable extended advertising

This adds support for connectable extended advertising instance.

[x] process AUX_CONNECT_REQ and send back AUX_CONNECT_RSP
[x] establish connection
[x] stop aux ticker on connection created
[x] free resources if AUX_CONNECT_RSP failed to be sent

update:
babblesim testcases will not be added here since we do not support connecting to extended instances thus such testcase will always fail

Update tests/bluetooth/bsim_bt/bsim_test_advx will connectable extended advertising scenario.

I'll add this in a PR that adds support for connectable extended advertising in initiator role, otherwise those tests would not work.

rebased to resolve conflicts


Allow lists of attributes after a type name to be consistent with other C-family languages

Originally reported on Google Code with ID 355
Owned by @howzlife

Allow
class X {
Integer a,b;
}
and
class X {
Integer a, b;
}
to initialize two variables.
Currently the former raises error 130 and the latter generates 'extra code'.. This
is to be consistent with C-family languages

Reported by @umple on 2012-11-21 20:06:45

I have raised the priority of this issue since it has been around for a very, very long time! Twice others have opened duplicates.


Plugin Form Widgets

Hello,
I have got an issue with my Plugin form widget.
so I have created widget for my plugin and I have added widget name into fields.yaml file manually. After that when I am trying to open fields.yaml from builder it shows me this error:

any ideas?

It doesn't look like builder was designed to work with custom widgets found in a plug in, is that right? If so, can we make it work with custom widgets?
I would like to distribute custom widgets in my plugin.

Please provide the form field definition file so we can see what is happening. Also make sure you register your widget as per the documentation:
http://octobercms.com/docs/backend/widgets#form-widget-registration

    public function registerFormWidgets()     {         return array(             'Author\\Plugin\\FormWidgets\\RichEditor' => array('label' => 'Rich Editor', 'code' => 'richeditor'),             'Author\\Plugin\\FormWidgets\\Widget' => array('label' => 'Step Widget','code' => 'widget'             ),             'Author\\Plugin\\FormWidgets\\DatePicker' => array('label' => 'Date','code' => 'datepicker'             )         );     }
and this is my Widget.php file
`namespace Author\Plugin\FormWidgets;
use Backend\Classes\FormField;
use Backend\Classes\FormWidgetBase;
use Config;
class Widget extends FormWidgetBase
{
...
}`
also this is my fields.yaml file
        message_field:             label: Message             size: ''             oc.commentPosition: ''             span: left             type: widget             tab: Settings
sorry what I am doing wrong?
notise that builder requires _control-widget.htm file for my widget, but I dont know how I should insert it in builder files after my plugin install or is it the right way?

class Widget extends FormWidgetBase
{
...
}

Paste the rest of this class. Also use ``` instead of ` when quoting code. Although I think you may need to create _control-widget.htm inside plugins/author/formwidgets/widget/partial/

public $vars = [
    'Title', 'Target', 'Message', 'Placment', 'Width'
];
/**
 * Render the form widget
 */
public function render()
{
    $this->prepareVars();
    return $this->makePartial('widget');
}

/**
 * Load widget assets
 */
public function loadAssets()
{
    $this->addJs('js/jquery.js');
}

/**
 * Widget Config
 */
public function init()
{
    $this->fillFromConfig([
        'vars',
    ]);
}

/**
 * Prepare widget variables
 */
public function prepareVars()
{
    $this->vars['loadValue'] = $this->getLoadValue();

    // Allow plugins to override the configuration
    if ($config = Config::get('blossom.formwidgets::widget')) {
        if (is_array($config) && count($config) >= 1) {
            foreach ($config as $key => $value)
                $this->vars['config'][$key] = $value;
        }
    }
}

/**
 * Return save value
 *
 * @return  float
 */
public function getSaveValue($value)
{
    if (!$input = input($this->fieldName))
        return 0;

    $input = preg_replace("/[^0-9]/", '', $input);
    $input = substr($input, 0, -2) . '.' . substr($input, -2);
    $input = floatval($input);

    return $input;
}

yes sure, here is my widget code, I think issue is that the builder is searching the partial into his files and octobers, but as it does not have any partial with that name and it returns an error. So when I rename my widget from WIDGET to RELATION it is working, also the wirget is working like my created not RELATION

This could in fact be an issue with naming, perhaps widget is a reserved name.

thanks, I have changed my widget name, after I got this

is it right?

If the error no longer occurs, I assume so. Not sure wha the screenshot here is showing.

Please reopen the issue if needed.


Fixed point numeric types

PROBLEM
Flutter needs a layout unit that has sub-pixel precision so that we can do accurate layout and painting operations on high-density displays. Layout and paint are our hottest code paths and there are numerous variables, arguments, and properties that would use this type.
Layout units are in a smallish range. In the common case, we would expect these numbers to be in the range -1e6 to +1e6, with an accuracy of ±0.02 or so.
Currently we use doubles.
DESIRES
We would like a numeric type with the following all equally important properties:

distinguished infinite values: it should be possible to represent +∞ and -∞. We use infinities extensively. doubles succeed here, int fails.
fractional: two values that are 1/64th apart should be distinguishable. doubles succeed here within the range of expected values, though the exact precision varies which is suboptimal; int fails.
associative: modulo rounding, it should not matter if we add then subtract, or subtract then add. (a + b) - c vs a + (b - c). doubles fail here, int succeeds.
distributive: modulo rounding, it should not matter if we add then multiply, or multiply then add. a * (b + c) vs (a * b) + (a * c). doubles fail here, int succeeds.
unboxed: since this is the hottest code path, we would like to use the fastest possible solution for computations, i.e. functions using this type should compile to functions doing computations on registers. doubles and int succeed here1.
tagged: since this is the hottest code path, we would like to use the fastest possible solution for storage too, i.e. objects of this type should store the value literally instead of using pointers. doubles fail here, but int succeeds1.
trivial literal: literals for this type should look exactly like doubles. doubles and int succeed here.
fast: this should use the fastest possible instructions on the underlying hardware.

We could also live with a literal that looked like a double but was then suffixed with a particular character, if that character was meaningful. For example, 0.1px would be reasonable. It would be better if there was no suffix though.
PROPOSAL
Create a new subtype of num that has the literal syntax of a double, but that is stored like a smi, except that the stored value is shifted left by six bits, and there is a special tag to represent infinities. Call this pixels. Then, when compiling, if you see a double literal, but the type that is expected is a pixels, convert it to this fixed-point form.
MORE DETAILS
We could live with any precision that was a power of two (for performance) greater than 1/(2^6) (1/64th), so long as the efficient range easily covered the core range -1e6 .. +1e6.
Chrome has a similar concept in their C++ code. Chrome originally tried 1/60, but changed to 1/64 for performance.
Graphics hardware typically solves this problem using floating point math far from zero. Such a solution might work here also, though it may be harder to reason about.
You can see where we currently work around the problems that double gives us by searching for "_applyFloatingPointHack" in our repo, for instance in the text painter code or in the box painter code.

1 based on https://www.dartlang.org/articles/numeric-computation/

For the record, we (Flutter) don't think we need this any more, at least not for now.

Thanks for the update!


bug fix only min/max rf return error when has remote target

Proposed changes
in nested loop join the bitmap rf have non remote target
but only min/max rf maybe have remote target
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


adding commit stats cmdlet

@ngetchell looks like a pester test is failing due to incorrect # of functionstoexport in PSGitLab.psd1. Looks like Get-GitLabUser, New-GitLabUser, and Remove-GitLabUser are missing from the list. Not sure if this was intentional or not...

@ngetchell nm, my bad. Must have bypassed that file on accident when i merged from your copy of dev. Went in and added the user functions back in that you already had in the list. Sorry...

This will be a great addition one it's ready. While looking at the API I never would have come up with this.


The numbers of jobs of Crosswork company on "Pe viitor.ro" it's not the same with the numbers of jobs from the validator

URL: https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 11
Preconditions:
The two webpages https://admin.peviitor.ro/ page and https://peviitor.ro/ be opened
STEPS TO REPRODUCE:
Go  on "https://admin.peviitor.ro/.
2. Type "Crosswork" in the search bar.
3. Click on the "Cauta" button.
4. Find "Crosswork" and see that the number of jobs is "38".
5. Go on "https://peviitor.ro/"
6. Type "Crosswork" in the search bar.
7. Check the number of jobs available for the company and see that they are 85.
EXPECTED RESULTS:
The number of jobs posted on the the site "Pe viitor.ro should be the same as the number of jobs posted on the company website on the careers section and with the numbers of the jobs from the validator.
ACTUAL RESULTS:
The number of jobs does not correspond to the number of jobs from the page pe viitor.ro and the validator

After running the scraper , the bug has been fixed.


apply cublas to the Gram Schmidt part of SOI

I apply cublas to the Gram Schmidt part of SOI

Can one of the admins verify this patch?

It will take some time to resolve, so I close this PR for now.


fix(QB-18309): show 0 - 0 /(total) instead of NA

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: