Start/end time weird

Hi,
First of all, many thanks for creating this!
I have a weird issue, apply price limit is on and the limit is above the 0,20 cents per kWh. But your script calculate this:
current_price: 0.2503792
EV SOC: '74'
EV target SOC: '80.0'
Charging is planned: true
**Charging start time: '2023-01-10T22:00:00+01:00'
Charging stop time: '2023-01-11T00:00:00+01:00'**
Charging number of hours: 2
raw_two_days:
  - start: '2023-01-09T00:00:00+01:00'
    end: '2023-01-09T01:00:00+01:00'
    value: 0.15950540000000002
  - start: '2023-01-09T01:00:00+01:00'
    end: '2023-01-09T02:00:00+01:00'
    value: 0.1481104
  - start: '2023-01-09T02:00:00+01:00'
    end: '2023-01-09T03:00:00+01:00'
    value: 0.14376440000000001
  - start: '2023-01-09T03:00:00+01:00'
    end: '2023-01-09T04:00:00+01:00'
    value: 0.1216422
  - start: '2023-01-09T04:00:00+01:00'
    end: '2023-01-09T05:00:00+01:00'
    value: 0.1116676
  - start: '2023-01-09T05:00:00+01:00'
    end: '2023-01-09T06:00:00+01:00'
    value: 0.126497
  - start: '2023-01-09T06:00:00+01:00'
    end: '2023-01-09T07:00:00+01:00'
    value: 0.171388
  - start: '2023-01-09T07:00:00+01:00'
    end: '2023-01-09T08:00:00+01:00'
    value: 0.2494676
  - start: '2023-01-09T08:00:00+01:00'
    end: '2023-01-09T09:00:00+01:00'
    value: 0.2706676
  - start: '2023-01-09T09:00:00+01:00'
    end: '2023-01-09T10:00:00+01:00'
    value: 0.26768899999999995
  - start: '2023-01-09T10:00:00+01:00'
    end: '2023-01-09T11:00:00+01:00'
    value: 0.2486408
  - start: '2023-01-09T11:00:00+01:00'
    end: '2023-01-09T12:00:00+01:00'
    value: 0.25029440000000003
  - start: '2023-01-09T12:00:00+01:00'
    end: '2023-01-09T13:00:00+01:00'
    value: 0.2278118
  - start: '2023-01-09T13:00:00+01:00'
    end: '2023-01-09T14:00:00+01:00'
    value: 0.2229676
  - start: '2023-01-09T14:00:00+01:00'
    end: '2023-01-09T15:00:00+01:00'
    value: 0.2251936
  - start: '2023-01-09T15:00:00+01:00'
    end: '2023-01-09T16:00:00+01:00'
    value: 0.2379772
  - start: '2023-01-09T16:00:00+01:00'
    end: '2023-01-09T17:00:00+01:00'
    value: 0.2508032
  - start: '2023-01-09T17:00:00+01:00'
    end: '2023-01-09T18:00:00+01:00'
    value: 0.2644242
  - start: '2023-01-09T18:00:00+01:00'
    end: '2023-01-09T19:00:00+01:00'
    value: 0.2729784
  - start: '2023-01-09T19:00:00+01:00'
    end: '2023-01-09T20:00:00+01:00'
    value: 0.2611276
  - start: '2023-01-09T20:00:00+01:00'
    end: '2023-01-09T21:00:00+01:00'
    value: 0.2503792
  - start: '2023-01-09T21:00:00+01:00'
    end: '2023-01-09T22:00:00+01:00'
    value: 0.22721819999999998
  - start: '2023-01-09T22:00:00+01:00'
    end: '2023-01-09T23:00:00+01:00'
    value: 0.2197876
  - start: '2023-01-09T23:00:00+01:00'
    end: '2023-01-10T00:00:00+01:00'
    value: 0.19467620000000002
  - start: '2023-01-10T00:00:00+01:00'
    end: '2023-01-10T01:00:00+01:00'
    value: 0.1922276
  - start: '2023-01-10T01:00:00+01:00'
    end: '2023-01-10T02:00:00+01:00'
    value: 0.182412
  - start: '2023-01-10T02:00:00+01:00'
    end: '2023-01-10T03:00:00+01:00'
    value: 0.1808008
  - start: '2023-01-10T03:00:00+01:00'
    end: '2023-01-10T04:00:00+01:00'
    value: 0.1755644
  - start: '2023-01-10T04:00:00+01:00'
    end: '2023-01-10T05:00:00+01:00'
    value: 0.1812036
  - start: '2023-01-10T05:00:00+01:00'
    end: '2023-01-10T06:00:00+01:00'
    value: 0.19498359999999998
  - start: '2023-01-10T06:00:00+01:00'
    end: '2023-01-10T07:00:00+01:00'
    value: 0.22651860000000001
  - start: '2023-01-10T07:00:00+01:00'
    end: '2023-01-10T08:00:00+01:00'
    value: 0.2452276
  - start: '2023-01-10T08:00:00+01:00'
    end: '2023-01-10T09:00:00+01:00'
    value: 0.2789144
  - start: '2023-01-10T09:00:00+01:00'
    end: '2023-01-10T10:00:00+01:00'
    value: 0.2757768
  - start: '2023-01-10T10:00:00+01:00'
    end: '2023-01-10T11:00:00+01:00'
    value: 0.2483334
  - start: '2023-01-10T11:00:00+01:00'
    end: '2023-01-10T12:00:00+01:00'
    value: 0.23632359999999997
  - start: '2023-01-10T12:00:00+01:00'
    end: '2023-01-10T13:00:00+01:00'
    value: 0.2303452
  - start: '2023-01-10T13:00:00+01:00'
    end: '2023-01-10T14:00:00+01:00'
    value: 0.230854
  - start: '2023-01-10T14:00:00+01:00'
    end: '2023-01-10T15:00:00+01:00'
    value: 0.23426719999999998
  - start: '2023-01-10T15:00:00+01:00'
    end: '2023-01-10T16:00:00+01:00'
    value: 0.2351364
  - start: '2023-01-10T16:00:00+01:00'
    end: '2023-01-10T17:00:00+01:00'
    value: 0.22980459999999997
  - start: '2023-01-10T17:00:00+01:00'
    end: '2023-01-10T18:00:00+01:00'
    value: 0.2366416
  - start: '2023-01-10T18:00:00+01:00'
    end: '2023-01-10T19:00:00+01:00'
    value: 0.233292
  - start: '2023-01-10T19:00:00+01:00'
    end: '2023-01-10T20:00:00+01:00'
    value: 0.2294018
  - start: '2023-01-10T20:00:00+01:00'
    end: '2023-01-10T21:00:00+01:00'
    value: 0.212198
  - start: '2023-01-10T21:00:00+01:00'
    end: '2023-01-10T22:00:00+01:00'
    value: 0.1878816
  - start: '2023-01-10T22:00:00+01:00'
    end: '2023-01-10T23:00:00+01:00'
    value: 0.16822920000000002
  - start: '2023-01-10T23:00:00+01:00'
    end: '2023-01-11T00:00:00+01:00'
    value: 0.1271648
charging_schedule:
  - start: '2023-01-09T00:00:00+01:00'
    end: '2023-01-09T01:00:00+01:00'
    value: 0
  - start: '2023-01-09T01:00:00+01:00'
    end: '2023-01-09T02:00:00+01:00'
    value: 0
  - start: '2023-01-09T02:00:00+01:00'
    end: '2023-01-09T03:00:00+01:00'
    value: 0
  - start: '2023-01-09T03:00:00+01:00'
    end: '2023-01-09T04:00:00+01:00'
    value: 0
  - start: '2023-01-09T04:00:00+01:00'
    end: '2023-01-09T05:00:00+01:00'
    value: 0
  - start: '2023-01-09T05:00:00+01:00'
    end: '2023-01-09T06:00:00+01:00'
    value: 0
  - start: '2023-01-09T06:00:00+01:00'
    end: '2023-01-09T07:00:00+01:00'
    value: 0
  - start: '2023-01-09T07:00:00+01:00'
    end: '2023-01-09T08:00:00+01:00'
    value: 0
  - start: '2023-01-09T08:00:00+01:00'
    end: '2023-01-09T09:00:00+01:00'
    value: 0
  - start: '2023-01-09T09:00:00+01:00'
    end: '2023-01-09T10:00:00+01:00'
    value: 0
  - start: '2023-01-09T10:00:00+01:00'
    end: '2023-01-09T11:00:00+01:00'
    value: 0
  - start: '2023-01-09T11:00:00+01:00'
    end: '2023-01-09T12:00:00+01:00'
    value: 0
  - start: '2023-01-09T12:00:00+01:00'
    end: '2023-01-09T13:00:00+01:00'
    value: 0
  - start: '2023-01-09T13:00:00+01:00'
    end: '2023-01-09T14:00:00+01:00'
    value: 0
  - start: '2023-01-09T14:00:00+01:00'
    end: '2023-01-09T15:00:00+01:00'
    value: 0
  - start: '2023-01-09T15:00:00+01:00'
    end: '2023-01-09T16:00:00+01:00'
    value: 0
  - start: '2023-01-09T16:00:00+01:00'
    end: '2023-01-09T17:00:00+01:00'
    value: 0
  - start: '2023-01-09T17:00:00+01:00'
    end: '2023-01-09T18:00:00+01:00'
    value: 0
  - start: '2023-01-09T18:00:00+01:00'
    end: '2023-01-09T19:00:00+01:00'
    value: 0
  - start: '2023-01-09T19:00:00+01:00'
    end: '2023-01-09T20:00:00+01:00'
    value: 0
  - start: '2023-01-09T20:00:00+01:00'
    end: '2023-01-09T21:00:00+01:00'
    value: 0
  - start: '2023-01-09T21:00:00+01:00'
    end: '2023-01-09T22:00:00+01:00'
    value: 0
  - start: '2023-01-09T22:00:00+01:00'
    end: '2023-01-09T23:00:00+01:00'
    value: 0
  - start: '2023-01-09T23:00:00+01:00'
    end: '2023-01-10T00:00:00+01:00'
    value: 0
  - start: '2023-01-10T00:00:00+01:00'
    end: '2023-01-10T01:00:00+01:00'
    value: 0
  - start: '2023-01-10T01:00:00+01:00'
    end: '2023-01-10T02:00:00+01:00'
    value: 0
  - start: '2023-01-10T02:00:00+01:00'
    end: '2023-01-10T03:00:00+01:00'
    value: 0
  - start: '2023-01-10T03:00:00+01:00'
    end: '2023-01-10T04:00:00+01:00'
    value: 0
  - start: '2023-01-10T04:00:00+01:00'
    end: '2023-01-10T05:00:00+01:00'
    value: 0
  - start: '2023-01-10T05:00:00+01:00'
    end: '2023-01-10T06:00:00+01:00'
    value: 0
  - start: '2023-01-10T06:00:00+01:00'
    end: '2023-01-10T07:00:00+01:00'
    value: 0
  - start: '2023-01-10T07:00:00+01:00'
    end: '2023-01-10T08:00:00+01:00'
    value: 0
  - start: '2023-01-10T08:00:00+01:00'
    end: '2023-01-10T09:00:00+01:00'
    value: 0
  - start: '2023-01-10T09:00:00+01:00'
    end: '2023-01-10T10:00:00+01:00'
    value: 0
  - start: '2023-01-10T10:00:00+01:00'
    end: '2023-01-10T11:00:00+01:00'
    value: 0
  - start: '2023-01-10T11:00:00+01:00'
    end: '2023-01-10T12:00:00+01:00'
    value: 0
  - start: '2023-01-10T12:00:00+01:00'
    end: '2023-01-10T13:00:00+01:00'
    value: 0
  - start: '2023-01-10T13:00:00+01:00'
    end: '2023-01-10T14:00:00+01:00'
    value: 0
  - start: '2023-01-10T14:00:00+01:00'
    end: '2023-01-10T15:00:00+01:00'
    value: 0
  - start: '2023-01-10T15:00:00+01:00'
    end: '2023-01-10T16:00:00+01:00'
    value: 0
  - start: '2023-01-10T16:00:00+01:00'
    end: '2023-01-10T17:00:00+01:00'
    value: 0
  - start: '2023-01-10T17:00:00+01:00'
    end: '2023-01-10T18:00:00+01:00'
    value: 0
  - start: '2023-01-10T18:00:00+01:00'
    end: '2023-01-10T19:00:00+01:00'
    value: 0
  - start: '2023-01-10T19:00:00+01:00'
    end: '2023-01-10T20:00:00+01:00'
    value: 0
  - start: '2023-01-10T20:00:00+01:00'
    end: '2023-01-10T21:00:00+01:00'
    value: 0
  - start: '2023-01-10T21:00:00+01:00'
    end: '2023-01-10T22:00:00+01:00'
    value: 0
  - start: '2023-01-10T22:00:00+01:00'
    end: '2023-01-10T23:00:00+01:00'
    value: 0.2091858
  - start: '2023-01-10T23:00:00+01:00'
    end: '2023-01-11T00:00:00+01:00'
    value: 0.2091858
icon: mdi:flash
friendly_name: EV Smart Charging Charging

Why does it takes tomorrow 22.00 hour and not earlier? For example, it can take 23.00 tonight (so this day and not tomorrow), the price is then 0,195.

Are you using version v1.5.0?
What is Charge start time (select.ev_smart_charging_charge_start_time) and Charge completion time (select.ev_smart_charging_charge_completion_time) set to?

That explains it. If you set both to None, the integration will select the cheapest hours it knows about. And right now that is 22:00-24:00 tomorrow. If you have a need for the charging to be completed by a certain time, then set the Charge completion time (select.ev_smart_charging_charge_completion_time) to your preferred time.

Alright! I set the "Charge completion time" now on 05.00 hours:
Charging start time: '2023-01-10T02:00:00+01:00'
Charging stop time: '2023-01-10T04:00:00+01:00'
I was hoping that it calculates the cheapest price over the day and then charge every hour under 0,20 cents. Any thoughts how I can set this up? Or does this script do this already? :)

If you want to charge every hour under 0,20 cents, then you should set
switch.ev_smart_charging_apply_price_limit = on
number.ev_smart_charging_electricity_price_limit = 0.2
switch.ev_smart_charging_continuous_charging_preferred =  off
select.ev_smart_charging_charge_start_time = None
select.ev_smart_charging_charge_completion_time = None
number.ev_smart_charging_charging_speed = 0.1 (something very low that will make sure the integration will schedule all hours below the price limit)
I assume that the EV SOC entity contains the actual SOC of the EV, and being updated live.

Hi Jonas,
Many thanks! Yes, it contains the actual SOC but there is some delay on it, it's not live, I think every one/two minutes.


Bump prometheus/prometheus to latest release

Issue #, if available:
https://github.com/aws/eks-anywhere-internal/issues/2036
Description of changes:
This PR bumps prometheus/prometheus to the latest Git revision, along with other updates such as Go version, checksums and attribution files.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


a11y enhancements

We should use something like eslint-plugin-jsx-a11y in combination with react-a11y.
These make sure the JSX code users write is (at least a bit) ARIA compliant, which is very important for applications that should be used at scale.

Added eslint-plugin-jsx-a11y in #271!


Training of Rasa Core through and getting combined result from core and nlu for the query

Hello,
When I'm pressing the start training button, it is only training the NLU.  Does Rasa-UI supports the training of the rasa-core? If yes, then how can I train the Rasa Core using the Rasa-UI. I have checked the training even after enabling the Rasa Core in the settings of the agent but still only trains the NLU.
Another question is, how to get the slot values using Rasa UI from the Rasa Core, as we are only getting the response_text from the Rasa Server.
Thanks.

for the policy training part, even Rasa-Core did not provide a HTTP call for online training.
here is the issue raised from rasa-core: https://github.com/RasaHQ/rasa_core/issues/422

@sanjeethanspal Rasa ui can train Rasa NLU directly. There is a manual step to deploy rasa-core. All the instructions and files are provided on the training page. as @JoshuaZe mentioned, http api doesn't exist for rasa core.
Slot Value can be used in rasa core response text.
Text  (You can use {slot_name} to have that automatically filled with value from rasa core)is that what you were asking? Ex: Hello {user_name}.

@pradeepmvn yeah this is one of the question, but I am saying that rasa core they do have conversation and session tracker for storing values of the slots and on the rasa server one can get the value of all the slots at the end of conversation by using tracker. But through API can we somehow get all the values of the slots at the end of the conversation using Rasa API on the rasaui.
@JoshuaZe
Thanks


Add 'Species List' Deliverable Type and plumb into the deliverable CSV importer

Add 'Species List' Deliverable Type and plumb into the deliverable CSV importer
Give more info if there's an error importing the document type

#1942  👈
main

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

Join @nickgraz and the rest of your teammates on  Graphite


NET::ERR_CERT_AUTHORITY_INVALID

Hi. After getting everything going I have noticed that the certificates are not being accepted by any of my browsers (they acknowledge that they exist but don't like them anyway).
I have tried on the following and had the same issue:
Google Chrome
Google Chrome - Incognito
GNOME Web

I can simply proceed to the site anyway so this is not a big issue, but thought it was worth reporting.

Hi @OliverBeckwith !
You will have to add the root CA certificate to chrome's CA database. You can find how to do it in the docs (in the note section):
https://rewardenv.readthedocs.io/en/latest/installation.html#trusted-ca-root-certificate
Also I suggest you to join Reward's Slack where you can ask questions like these.
http://rewardslack.janosmiko.com/


bubble in your card

how did you put the bubbles in the map?

you have to set the fill_entity property. This can be any kind of boolean switch or sensor.

you have to set the fill_entity property. This can be any kind of boolean switch or sensor.

really nice, thanks you !
can i increase the bubbles ?

At this point, nope! But you can request this feature.


Some commands doesn't works

Commands:
:disableevents/ :status/ :refresh_catalogue doesn't works. Sorry for my english

:disableevent is only to when you send an :eventha;:eventalert the user that entered the command :disableevent doesn't received the Hotel Alert. Because some users doesn't like the Flood from Event Alert.
:refresh_catalogue doesn't work? Will check that.
:status is for appear as offline or online in hotel.

Eu entrei em duas contas, uma (rank 1) usei o comando :disableevent e na outra (rank 10) usei o comando :eventha e mesmo assim apareceu

You verified if disableevent is enabled for rank 1?
Also the Event Alert doesn't must appear for the Rank 1, to the rank 10 can appear, because he didn't typed disableevent.

Yes, i verified it

Okay i will check.


Expand Array Outputs in Readme

The outputs in the readme.md are autogenerated. Where one of the outputs is an array, it would be great to be able to expand it out.
Eg. For an array of objects, we could list the name and types used.

Good idea!

This idea becomes more important when using UserDefinedTypes.
The array type abstracts valuable type information which is available.

Dear @Gordonby, Azure Verified Modules (AVM) will become the single Microsoft standard for Bicep modules. Transitioning to AVM, requests for new features or bug fixes will need to be submitted against the appropriate AVM module via AVM Module Issues.
As part of this transition, the new AVM CI environment is replacing the existing CI formerly leveraged within the Bicep Registry Modules (BRM) repository. As a result of this, issues and features related to the existing BRM CI will be closed. If you think your issue still needs addressing, please raise a new issue related to the AVM CI, here.
See this informational notice for more details on the upcoming changes.
Thank you for your understanding!


Fix user & userprofile tests

This PR fixes some user & userprofile tests. Therefore it was necessary to implement the UnmanagedAttributePolicy property in userprofile.
I removed the t.Parallel() in certain tests, because those tests are failing when all tests are running!
Concrete problem is that firstName and lastName can not be stored.
Maybe there is a multithreading problem in Keycloak? Once this PR is merged I will prepare a branch to reproduce the problem and raise a issue.

Would close #946


Prevent calling make_optional<int&>(i) or make_optional<const int&>(i)

The status quo in C++23 is that
    int i;
    auto o = make_optional<int&>(i);

produces an optional<int>, not an optional<int&>. This would be horribly confusing to propagate into C++26 — users would naturally expect to receive an optional<int&>. Worse,
    auto o = make_optional<int&>(std::ref(i));

actually would give you an optional<int&>, because it would use a different overload of make_optional! So, we propose to add a "Mandates" element to make_optional that requires its explicit template argument (if any) to be a non-array object type.
This breaks the "status quo" example at the top of this comment (requiring an Annex C entry); but it successfully prevents the pitfalls. And it does not silently change the behavior of the "status quo" example, either — which would probably be 100x worse than merely breaking it!
Thanks to Tomasz Kamiński for the template-programming trick, which matches the technique used in https://eel.is/c++draft/out.ptr .

How about making the first overload like this, which seems simpler to me?
    namespace detail {
        struct spec_barrier {
            explicit spec_barrier() = default;
        };
    }

    template<detail::spec_barrier = detail::spec_barrier{}, class T>
        requires std::is_constructible_v<std::decay_t<T>, T> // per LWG3627
    constexpr std::optional<std::decay_t<T>> make_optional(T&& t)
        noexcept(std::is_nothrow_constructible_v<std::decay_t<T>, T>)
    {
        return std::optional<std::decay_t<T>>(std::forward<T>(t));
    }

How about making the first overload like this, which seems simpler to me?

Oh yeah — that works, because even though today the first overload is used for e.g. make_optional<int&>(i), there's no reason it needs to be. We can make the first overload non-viable in that case, and then the second overload will be used instead, which is fine! (Until someone points out a subtle ABI problem with that change, anyway... ;))
Updated accordingly.

Closing, parts of this were included in the R8 proposal.


Run tests on Rust 1.36

This is the minimum Rust version we can actually run tests on because the current test depends on the elision rules introduced in https://github.com/rust-lang/rust/pull/61207.

bors r+


[Question] Can multi edge nodes in same region share one tunnel agent?

/kind question
Hi, I found a document 'https://blog.csdn.net/yunqiinsight/article/details/109637353' about tunnel tech of openyurt.

Does it mean that several edge nodes in the same region share one tunnel agent, and we do not need to execute a tunnel agent for each edge node?  If so, is there any tutorial to show how to configure tunnel agent or kubelet? Thank you.

Good question, I'm also looking for this feature.


add d_type warning to docker info, and optimize output

- What I did
The overlay(2) drivers were moved up in the list of storage drivers, and are known to have problems if the backing filesystem does not support d_type.
Commit 2e20e63da2a8a0ffbbb3f2146f87559e17f43046 added a warning, which is logged in the daemon logs, however, many users do not check those logs, and may overlook this warning.
This patch adds the same warning to the output of docker info so that the warning is more easily found.
In addition, the output of warnings printed by docker info is optimized, by;

moving all warnings to the end of the output, instead of mixing them with the regular output
wrapping the storage-driver warnings, so that they are more easily readable

Example output with this patch applied
devicemapper using loopback devices:
...
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

overlay2 on xfs without d_type support;
...
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: overlay2: the backing xfs filesystem is formatted without d_type support, which leads to incorrect behavior.
         Reformat the filesystem with ftype=1 to enable d_type support.
         Running without d_type support will not be supported in future releases.
WARNING: bridge-nf-call-iptables is disabled

- Description for the changelog
Add warning to docker info if the overlay(2) storage driver is used , and the backing filesystem does not support  d_type.
- A picture of a cute animal (not mandatory but encouraged)

LGTM

@thaJeztah why the cherry-pick here ? it's already in 17.04.0-rc1

@vieux yes, looks like it was to consider it for 17.03.1


rts.tests: Portablity fix for Solaris 10 /bin/sh

On Solaris 10 and older, rts.tests fails by the following
Solaris /bin/sh specifications:

/bin/sh does not exit immediately on signals (SIGTERM and so on)
if a foreground process is remained.
'!' is not a reserved word and has no special meaning
(except in '[...]')

Any comment?

Any comment?


Add 'fileDescriptors' option to allow file I/O to be used in the browser

This option is only used by wasi-browser.ts.  It doesn't really make sense for node/deno/bun since those runtimes have native support for WASI.
I'm having issues running the tests so I haven't bothered trying to enable fileAccess for the browser tests.
I have done some manual testing to verify that things are working as expected.  I have a plugin with the following F# cord:
[<UnmanagedCallersOnly(EntryPoint = "greet")>]
let Greet () : int32 =
    printfn "Greet called"

    let contents = File.ReadAllText("./input.txt")
    printfn "contents = %s" contents

    let input = Pdk.GetInputString()
    printfn $"input = {input}"
    let data = JsonSerializer.Deserialize<Data> input

    printfn $"greeting = {data.greeting}, name = {data.name}"

    let result = $"{data.greeting}, {data.name}!"
    Pdk.SetOutput(result)
    0

The JavaScript host code looks like this (note, this requires input.txt to exist in the directory being served):
import createPlugin from '@extism/extism';
import { WASI, File, OpenFile, ConsoleStdout, PreopenDirectory } from "@bjorn3/browser_wasi_shim";

const input = await fetch(`/input.txt`);
const inputBuffer = await input.arrayBuffer();

const url = new URL(`${location.protocol}/${location.host}/Plugin/bin/Debug/net8.0/wasi-wasm/AppBundle/Plugin.wasm`);
const options = {
    useWasi: true,
    enableWasiOutput: true,
    fileDescriptors: [
        new PreopenDirectory(".", {
            "input.txt": new File(inputBuffer),
        }),
    ]
};
const plugin = await createPlugin(url, options);

const input = JSON.stringify({ greeting: "hello", name: "world" });
const out = await plugin.call("greet", input);
console.log(out.text());

The output in the browser console looks like this:
Greet called
contents = This is a text file
input = {"greeting":"hello","name":"world"}
greeting = hello, name = world
hello, world!

Going to close this one for now – we're going to revisit the WASI integration for Deno 2; in the process we'll also try to make sure that it's possible to provide overrides for fileDescriptors in-browser.


Move more commands to subcommands of ros

Depends rancher/os-images#112, rancher/os-services#53,  rancher/os-services#54
#1280

LGTM


504 Gateway Timeout When Doing Very Long Computations On Home Server

I'm using localtunnel and its great. Only problem is that I am doing genetic algorithm computations in home computer and it takes 10 minutes to 1 hour. Then shortly after it starts computation, nginx 504 timeout error is returned from home server to front-end. The localtunnel's window does not give any error. The 504 is only returned to the connected client.
How can I increase waiting-limit for the localtunnel?

I see there is no option to change it as "lt" parameter. Maybe it is doable by changing some environmental variable before launching lt?

I also received 504 this morning, but it will be fine after a while. It works normally again. The client does not prompt any error. It may be that the server has a lot of traffic at the moment

I also received 504 this morning, but it will be fine after a while. It works normally again. The client does not prompt any error. It may be that the server has a lot of traffic at the moment
PS:This is machine translation. My English is not good 。

i have the same issue. perhaps making one post then spamming gets until response is available would fix it


qdirstat: 1.7 -> 1.7.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/shundhammer/qdirstat/releases.
meta.description for qdirstat is: "Graphical disk usage analyzer"
meta.homepage for qdirstat is: "https://github.com/shundhammer/qdirstat"
meta.changelog for qdirstat is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

Warning: no invocation of /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1/bin/qdirstat had a zero exit code or showed the expected version

/nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1/bin/qdirstat-cache-writer passed the binary check.

/nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1/bin/.qdirstat-cache-writer-wrapped passed the binary check.

Warning: no invocation of /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1/bin/.qdirstat-wrapped had a zero exit code or showed the expected version

1 of 4 passed binary check by having a zero exit code.

2 of 4 passed binary check by having the new version present in output.

found 1.7.1 with grep in /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1

found 1.7.1 in filename of file in /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1

directory tree listing: https://gist.github.com/fc9814ef4da521d4815d76cbb19d018f

du listing: https://gist.github.com/effaf678bff04d3d8c7e9e869eb3355f

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
qdirstat

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A qdirstat https://github.com/r-ryantm/nixpkgs/archive/4862923786eb22b406f5e5d1d529557a018980c0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1
ls -la /nix/store/79x8dz1f40p0q3hvbc6lv12p1hid2n62-qdirstat-1.7.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

qdirstat

Maintainer pings
cc @gnidorah for testing.

Result of nixpkgs-review pr 119143 at 48629237 run on x86_64-linux 1

1 package built successfully:

qdirstat

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/applications/misc/qdirstat/default.nix:53:5:
   |
53 |     license = licenses.gpl2;
   |     ^

Result of nixpkgs-review pr 119143 run on x86_64-linux 1

1 package built:

qdirstat


fix: Gracefully handle nodes that only support text ranges some of the time

The egui DragValue widget will be like this.
BTW, I'm no longer including the parenthesized part in the prefix at the beginning of commit messages, because it doesn't have the purpose that I thought it did in release-please; it just clutters the change logs.

Going to go ahead and merge this one. It's a small, simple change, and I tested it together with my work on egui's DragValue widget.


Deprecate / update to point to WebXR?

While WebVR rocked, WebXR now rules - the web site should probably reflect that.

sure thing. I own webvr.rocks. shall I have it redirected to https://immersiveweb.dev/?

That's a great idea!

@cvan hey could you get to this? this info is super out of date

sure thing. thanks for flagging! @dontcallmedom, et al: could you review & merge PR #328 that redirects https://webvr.rocks to https://immersiveweb.dev/?


Error during initalization "Wrong type argument" listp, tomorrow

I was in the process of setting up your Emacs config on a Ubuntu 24.04 machine.
When the config is loaded emacs fails with the following backtrace:
Debugger entered--Lisp error: (wrong-type-argument listp tomorrow)
  package-desc-from-define("color-theme-sanityinc-tomorrow" "20240621.1005" "A version of Chris Kempson's " tomorrow " themes." '((emacs "24.1")) :url "https://github.com/purcell/color-theme-sanityinc-t..." :commit "ddf2920a8866040e57359d2e1c5517fffcad2e38" :revdesc "ddf2920a8866" :keywords '("faces" "themes") :authors '(("Steve Purcell" . "steve@sanityinc.com")) :maintainers '(("Steve Purcell" . "steve@sanityinc.com")))
  package-process-define-package((define-package "color-theme-sanityinc-tomorrow" "20240621.1005" "A version of Chris Kempson's " tomorrow " themes." '((emacs "24.1")) :url "https://github.com/purcell/color-theme-sanityinc-t..." :commit "ddf2920a8866040e57359d2e1c5517fffcad2e38" :revdesc "ddf2920a8866" :keywords '("faces" "themes") :authors '(("Steve Purcell" . "steve@sanityinc.com")) :maintainers '(("Steve Purcell" . "steve@sanityinc.com"))))
  package-load-descriptor("/home/groessingp/.emacs.d/elpa-29.3/color-theme-sa...")
  package-load-all-descriptors()
  package-initialize()
  load-with-code-conversion("/home/groessingp/.emacs.d/lisp/init-elpa.el" "/home/groessingp/.emacs.d/lisp/init-elpa.el" nil t)
  #<subr require>(init-elpa)
  apply(#<subr require> init-elpa nil)
  (prog1 (apply orig feature args) (if (and (not already-loaded) (memq feature features)) (progn (let ((time (sanityinc/time-subtract-millis (current-time) require-start-time))) (add-to-list 'sanityinc/require-times (list feature require-start-time time) t)))))
  (let* ((already-loaded (memq feature features)) (require-start-time (and (not already-loaded) (current-time)))) (prog1 (apply orig feature args) (if (and (not already-loaded) (memq feature features)) (progn (let ((time (sanityinc/time-subtract-millis ... require-start-time))) (add-to-list 'sanityinc/require-times (list feature require-start-time time) t))))))
  sanityinc/require-times-wrapper(#<subr require> init-elpa)
  apply(sanityinc/require-times-wrapper #<subr require> init-elpa)
  require(init-elpa)
  load-with-code-conversion("/home/groessingp/.emacs.d/init.el" "/home/groessingp/.emacs.d/init.el" t t)
  load("/home/groessingp/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x11489325849cd4eb>) #f(compiled-function () #<bytecode -0x1f3c61addc0acb35>) t)
  command-line()
  normal-top-level()

From my little understanding of Elisp it seems that the "tomorrow" string in the description of the theme package is interpreted wrongly.
I'm running this behind a proxy.
So before launching Emacs and loading your config, I add the following in init.el:
;; Bootstrap config
(require 'init-proxy)
(setq custom-file (locate-user-emacs-file "custom.el"))

with the following content:
;;; init-proxy.el --- Proxy Support -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:

(setq url-proxy-services
            '(("no_proxy" ."^\\(localhost\\|10.*\\)")
	              ("http" . "<IP_ADDRESS>:3128")
		              ("https" . "<IP_ADDRESS>:3128")))

(provide 'init-proxy)
;;; init-proxy.el ends here

The proxy does not need authentication and the file is located in lisp/init-proxy.el.
I somehow can't imagine that the proxy is the issue, however can't run the above backtrace in an open network right now.
Thanks!

Ah, that looks like an instance of a bug in package-build that affected packages with double-quotes in their descriptions: the MELPA packages are uninstallable as a result, but they should get rebuilt soon.

Great! Glad it's working for you now. Happy tinkering! 😄


Orders filled and not sell didn't returns by futures_get_open_orders()

Hi,
I'm using 0.7.9 version and I encoutered one issue.
Firstly, I make a new order (for example LTCUSDT in LONG position side), and this order is filled.
After that, I try to use the following code to get all open orders with the following code :
open_orders = client.futures_get_open_orders()
But it returns me a empty list. But I expected to see my new LTCUSDT order.
In the same case, when I use get_accounts() to get owned assets :
get_account = client.get_account()
I got only USDT, BNB and BUSD values. See the result below :
{'USDT': Decimal('411.71619818'), 'BNB': Decimal('0E-8'), 'BUSD': Decimal('0E-8')}
It's seems like my order was ignored, but in Binance Futures platform the orders are present.
Since client.futures_get_open_orders() returns an empty list, I expected client.get_account() returns me LTC owned.
Thank you

I am having the same problem, I make a new order and then try to check the order with futures_get_open_orders() and returns me an empty list but in the platform the order exist.

i am also facing the same problem.
i really need to get my open orders

For some strange reason I no longer have the problem, a few days passed and the problem disappeared

After few years same problem for me!

same too


Typescript type defs: why mget returns any?

I was wondering why mget is defined as returning any in the type definitions hosted on DefinitelyTyped. This is also the case for rpush, lpush, hmget, and a few others.
It seems like the format of Redis responses are uniform enough to be able to strictly type all of these. Am I missing something?

Posted on DefinitelyTyped, nevermind.


Mob-programming

I like your React app. I think your components are very functional to create a great user interface. Great job!

Thanks very much!


Use PageRank on unthresholded w matrix

You'll want to take the absolute value of w's entries to remove the sign, but then you definitely don't want to threshold w before running PageRank. I'd suggest just using the w matrix directly rather than NetworkX's implementation. For example, there's an implementation you can grab from the wikipedia page.
https://en.wikipedia.org/wiki/PageRank

I have one question about this. If we set the threshold for w and remove some insignificant interaction before calculating the pagerank, wouldn't it be better to observe which genes are important?

I don't know what threshold of interactions is insignificant. Because we penalize non-zero interactions during fitting, in theory everything that is non-zero is significant.

okay, I see


feat(gateways) add a NAT gateway to privatek8s for outbound requests

As per https://github.com/jenkins-infra/helpdesk/issues/3908#issuecomment-1906084976, this PR associates the private_outbound NAT gateway to the privatek8s cluster's subnet to use it as the main outbound link.

Asking for a secondary review as this PR could break outbound access for infra.ci

Plan: 1 to add, 0 to change, 0 to destroy. => the link between subnet and gateway as expected


Update checkout action version on examples

What this PR does

Updates the checkout action version occurrences in the readme file (from v2 to v3)

Thank you!


Fix for #485 - Updating embed HTML to use L.mapbox.featureLayer

Updating embed HTML to use Mapbox FeatureLayer to support icon styling.

👍 thanks david!


Document .git-blame-ignore-revs addition for bulk changes

Description
Bulk change issues don't always include .git-blame-ignore-revs addition
Expected information
The file should be updated when bulk style commits are made.
Actual information
Add the commit rev-id to the file.
Versions
N/A
Ref: #2608 most recently.

We should add git config blame.ignoreRevsFile .git-blame-ignore-revs as indicated in https://github.com/InsightSoftwareConsortium/ITK/blob/3a969e556af074614f75eeb59befbe83e410b47c/.git-blame-ignore-revs#L10 to SetupForDevelopment script and possibly bump its version:
https://github.com/InsightSoftwareConsortium/ITK/blob/3a969e556af074614f75eeb59befbe83e410b47c/Utilities/SetupForDevelopment.sh#L110


Extremely slow retraining after loading model

When it comes to loading a model from a .h5 file, and fitting more data to it- the training process becomes incredibly slow compared to initial training. Slow as in 10 seconds to 43 seconds per epoch
https://www.tensorflow.org/install/gpu was followed 04/22/2020
I use pip, I'm not using Anaconda, etc. Nor am I using a notebook.

OS = Windows 10 x64
Python version = 3.7
Tensorflow = 2.1.0
CudaToolkit =  10.1
cuDNN SDK = 7.6
NVIDIA GPU driver = 445.75

The following I'm assuming came with tensorflow because I didn't install them myself:

Keras-Applications = 1.0.8
Keras-Preprocessing = 1.1.0

The code below trains a model, saves it, deletes it then loads the previously saved model to train again
# Imports
import pandas as pd
import numpy as np

import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, LSTM, BatchNormalization
from tensorflow.keras.models import load_model

# Create dummy dataset
dummydata = pd.DataFrame(np.random.random_sample((10000, 51)))

predictors_list = dummydata.columns.tolist()
predictors_list.remove(predictors_list[-1])

X_rgs = dummydata[predictors_list]
y_rgs = dummydata[dummydata.columns[-1]]

# Train, Test split
train_length = int(len(dummydata)*0.70)
X_rgs_train = X_rgs[:train_length]
X_rgs_test = X_rgs[train_length:]
y_rgs_train = y_rgs[:train_length]
y_rgs_test = y_rgs[train_length:]

# pandas to numpy
X_rgs_train = X_rgs_train.to_numpy()
X_rgs_test = X_rgs_test.to_numpy()

# Reshape data
y_rgs_train = y_rgs_train.values
y_rgs_train = y_rgs_train.reshape(len(y_rgs_train), 1)
y_rgs_train = np.ravel(y_rgs_train)

y_rgs_test = y_rgs_test.values
y_rgs_test = y_rgs_test.reshape(len(y_rgs_test), 1)
y_rgs_test = np.ravel(y_rgs_test)

X_train_lstm = []
y_train_lstm = []

for i in range(60, X_rgs_train.shape[0]):
    X_train_lstm.append(X_rgs_train[i-60:i])
    y_train_lstm.append(X_rgs_train[i, 0])

len_y_train_lstm = len(y_train_lstm)
y_train_lstm = y_rgs_train[:len_y_train_lstm]
X_train_lstm, y_train_lstm = np.array(X_train_lstm), np.array(y_train_lstm)

X_test_lstm = []
y_test_lstm = []

for i in range(60, X_rgs_test.shape[0]):
    X_test_lstm.append(X_rgs_test[i-60:i])
    y_test_lstm.append(X_rgs_test[i, 0])

len_y_test_lstm = len(y_test_lstm)
y_test_lstm = y_rgs_test[:len_y_test_lstm]
X_test_lstm, y_test_lstm = np.array(X_test_lstm), np.array(y_test_lstm)

# Model architecture and vars
EPOCHS = 1
BATCH_SIZE = 32

model = Sequential()
model.add(LSTM(128, input_shape=(X_train_lstm.shape[1:]), return_sequences=True))
model.add(Dropout(0.2))
model.add(BatchNormalization())

model.add(LSTM(128, return_sequences=True))
model.add(Dropout(0.2))
model.add(BatchNormalization())

model.add(LSTM(128, return_sequences=True))
model.add(Dropout(0.2))
model.add(BatchNormalization())

model.add(LSTM(128))
model.add(Dropout(0.5))
model.add(BatchNormalization())

model.add(Dense(1))

model.compile(loss='mean_squared_error', optimizer='adam', metrics=['mean_absolute_error'])

model.fit(X_train_lstm, y_train_lstm, batch_size=BATCH_SIZE, epochs=EPOCHS, validation_data=(X_test_lstm, y_test_lstm)) # fit
model.save("model_ISSUE.h5") # save entire model

del model

model = load_model('model_ISSUE.h5') # load entire model
model.fit(X_train_lstm, y_train_lstm, batch_size=BATCH_SIZE, epochs=EPOCHS, validation_data=(X_test_lstm, y_test_lstm)) # fit

Output:
2020-04-29 22:15:21.184146: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-04-29 22:15:23.126105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-04-29 22:15:23.151009: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: GeForce GTX 1060 6GB computeCapability: 6.1
coreClock: 1.835GHz coreCount: 10 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-04-29 22:15:23.155805: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-04-29 22:15:23.161197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-04-29 22:15:23.166549: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-04-29 22:15:23.170036: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-04-29 22:15:23.176026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-04-29 22:15:23.180542: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-04-29 22:15:23.191606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-04-29 22:15:23.194041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2020-04-29 22:15:23.196244: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-04-29 22:15:23.199798: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: GeForce GTX 1060 6GB computeCapability: 6.1
coreClock: 1.835GHz coreCount: 10 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-04-29 22:15:23.204240: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-04-29 22:15:23.206834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-04-29 22:15:23.208947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-04-29 22:15:23.210997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-04-29 22:15:23.213076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-04-29 22:15:23.215705: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-04-29 22:15:23.218272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-04-29 22:15:23.221158: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2020-04-29 22:15:23.773119: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-04-29 22:15:23.775514: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102]      0
2020-04-29 22:15:23.776821: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] 0:   N
2020-04-29 22:15:23.778805: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1241] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4702 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:09:00.0, compute capability: 6.1)

Train on 6940 samples, validate on 2940 samples
2020-04-29 22:15:28.206970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-04-29 22:15:28.443339: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
6940/6940 [==============================] - 10s 1ms/sample - loss: 0.8105 - mean_absolute_error: 0.6987 - val_loss: 0.1208 - val_mean_absolute_error: 0.2886

Train on 6940 samples, validate on 2940 samples
6940/6940 [==============================] - 43s 6ms/sample - loss: 0.2288 - mean_absolute_error: 0.3845 - val_loss: 0.0986 - val_mean_absolute_error: 0.2647

As seen above, it becomes incredibly slow to retrain the model after it's loaded. (10s --> 43s)
I've seen one other person seem to have this problem and their 'solution' was to "swap to pytorch"
How can I go about dealing with this issue?
Regards,

@Saduf2019 Sorry for pinging you but this has me scratching my head. Any ideas?

@HowAlgorithmic
I see that the code shared is incomplete, for us to replicate the issue faced please provide with complete stand alone code.
I ran the code shared and face the error shared in this gist.

@HowAlgorithmic
I see that the code shared is incomplete, for us to replicate the issue faced please provide with complete stand alone code.
I ran the code shared and face the error shared in this gist.

@Saduf2019
Updated with full code. Apologies.

I am able to replicate this issue, please find the gist here

@HowAlgorithmic I am not able reproduce the issue. Please take a look at the gist here.
I imported time module and found that original model took 17.12 sec where as the loaded model took 11.53 sec. Thanks
217/217 [==============================] - 6s 29ms/step - loss: 0.7584 - mean_absolute_error: 0.6758 - val_loss: 0.0871 - val_mean_absolute_error: 0.2533
Time taken :  17.129685878753662
217/217 [==============================] - 6s 29ms/step - loss: 0.2162 - mean_absolute_error: 0.3690 - val_loss: 0.0891 - val_mean_absolute_error: 0.2551
Time taken :  11.534339427947998

@jvishnuvardhan I see. These are my results when running locally via .py in powershell:
6940/6940 [==============================] - 10s 1ms/sample - loss: 0.8340 - mean_absolute_error: 0.7115 - val_loss: 0.1143 - val_mean_absolute_error: 0.2813
Time taken :  9.873769760131836
6940/6940 [==============================] - 42s 6ms/sample - loss: 0.2509 - mean_absolute_error: 0.3996 - val_loss: 0.1338 - val_mean_absolute_error: 0.3014
Time taken :  42.50903582572937

The code used was the same in your gist except instead of pip install tf_nightly, I used pip install tensorflow.
When trying with tf nightly, it refused to even use my gpu
pip freeze:
absl-py==0.9.0
astor==0.8.1
cachetools==4.1.0
certifi==2<IP_ADDRESS>
chardet==3.0.4
gast==0.2.2
google-auth==1.14.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.28.1
h5py==2.10.0
idna==2.9
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
Markdown==3.2.1
numpy==1.18.4
oauthlib==3.1.0
opt-einsum==3.2.1
pandas==1.0.3
pip-autoremove==0.9.1
protobuf==3.11.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
python-dateutil==2.8.1
pytz==2020.1
requests==2.23.0
requests-oauthlib==1.3.0
rsa==4.0
scipy==1.4.1
six==1.14.0
tensorboard==2.1.1
tensorflow==2.1.0
tensorflow-estimator==2.1.0
termcolor==1.1.0
urllib3==1.25.9
Werkzeug==1.0.1
wrapt==1.12.1

full output:
2020-05-06 04:18:36.565163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-05-06 04:18:39.604719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-05-06 04:18:39.631656: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: GeForce GTX 1060 6GB computeCapability: 6.1
coreClock: 1.835GHz coreCount: 10 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-05-06 04:18:39.637489: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-05-06 04:18:39.643940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-05-06 04:18:39.650458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-05-06 04:18:39.654610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-05-06 04:18:39.661559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-05-06 04:18:39.666526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-05-06 04:18:39.678926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-05-06 04:18:39.682112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2020-05-06 04:18:39.684808: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-05-06 04:18:39.689897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: GeForce GTX 1060 6GB computeCapability: 6.1
coreClock: 1.835GHz coreCount: 10 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-05-06 04:18:39.697481: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-05-06 04:18:39.701595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-05-06 04:18:39.706359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-05-06 04:18:39.710467: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-05-06 04:18:39.714917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-05-06 04:18:39.718904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-05-06 04:18:39.723358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-05-06 04:18:39.727834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2020-05-06 04:18:40.445091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-05-06 04:18:40.448941: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102]      0
2020-05-06 04:18:40.451388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] 0:   N
2020-05-06 04:18:40.455276: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1241] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4702 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:09:00.0, compute capability: 6.1)
Train on 6940 samples, validate on 2940 samples
2020-05-06 04:18:45.121013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-05-06 04:18:45.369838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
6940/6940 [==============================] - 10s 1ms/sample - loss: 0.8340 - mean_absolute_error: 0.7115 - val_loss: 0.1143 - val_mean_absolute_error: 0.2813
Time taken :  9.873769760131836
Train on 6940 samples, validate on 2940 samples
6940/6940 [==============================] - 42s 6ms/sample - loss: 0.2509 - mean_absolute_error: 0.3996 - val_loss: 0.1338 - val_mean_absolute_error: 0.3014
Time taken :  42.50903582572937

@HowAlgorithmic Can you please check one more time with my shared gist and let us know what times you are noticing with tf-nightly. Thanks!


Empty molecule role breaks

Issue Type

Bug report

Molecule and Ansible details
ansible --version
ansible 2.5.2

molecule --version
molecule, version 2.14.0

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
All tests should pass.
Actual Behaviour (Bug report only)
We are running on Mac OS 10.13.4 and created an empty ansible nginx-test role. We tested with both vagrant and docker drivers and both produce the same results show below.
$ molecule init role --role-name=nginx-test --driver-name=docker
--> Initializing new role nginx-test...
Initialized role in /Users/dexmux/Desktop/nginx-test successfully.
$ cd nginx-test/
$ molecule test
--> Validating schema /Users/dexmux/Desktop/nginx-test/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    ├── lint
    ├── destroy
    ├── dependency
    ├── syntax
    ├── create
    ├── prepare
    ├── converge
    ├── idempotence
    ├── side_effect
    ├── verify
    └── destroy

--> Scenario: 'default'
--> Action: 'lint'
--> Executing Yamllint on files found in /Users/dexmux/Desktop/nginx-test/...
Lint completed successfully.
--> Executing Flake8 on files found in /Users/dexmux/Desktop/nginx-test/molecule/default/tests/...
Lint completed successfully.
--> Executing Ansible Lint on /Users/dexmux/Desktop/nginx-test/molecule/default/playbook.yml...
Lint completed successfully.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named molecule
    fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

    PLAY RECAP *********************************************************************
    localhost                  : ok=0    changed=0    unreachable=0    failed=1

ERROR:
An error occured during the test sequence.  Cleaning up.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named molecule
    fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

    PLAY RECAP *********************************************************************
    localhost                  : ok=0    changed=0    unreachable=0    failed=1

ERROR:

Looks like a problem with your system.  I suggest following the fix from #1167.

Is Docker running?
I had a similar issue, where I followed the quickstart guide, but couldn't get it working. Turned out I hadn't started Docker.
The error wasn't apparent before I ran molecule --debug test, and even then it wasn't very clear. Error with --debug:
TASK [Wait for instance(s) deletion to complete] *******************************
...
"msg": "Error connecting: Error while fetching server API version: ('Connection aborted.',
ConnectionRefusedError(61, 'Connection refused'

And without:
TASK [Wait for instance(s) deletion to complete] *******************************
failed: [localhost] (item=None) => {"attempts": 1, "censored": "the output has been hidden due to
the fact that 'no_log: true' was specified for this result", "changed": false}

The VirtualEnv fixed my issues. Thanks!

How did the VirtualEnv fix this? What did you do?


styled navbar

Related Issue
Navbar is blurred when scrolling down .
I have solved bug and also added animations to navbar
Closes: #998
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

https://user-images.githubusercontent.com/59757988/115053424-be80ee80-9efc-11eb-88fa-5fbe73b983b3.mp4

@urvashi-code1255 I have styled navbar please review and merge my PR
Thanks :)

@Muskan-creator please remove these two GitHub icons from the home page navbar and put only one there

@urvashi-code1255  Actually I have not created that two github links It has alreadycreated before my PR .I have not removed this because someone  has raised issue of two github links and has assigned that issue so for that I thought He/she has working already on that and if I change it brought conflicts to him/her

@Muskan-creator now that PR is merged so please you do this as it's not looking good 😊

Please see issue #1027 (it is already assigned).

Please see issue #1027 (it is already assigned).

@urvashi-code1255

Okay thanks for informing me @Muskan-creator 😊


Update index.html

I have made changes for follow us buttons. If you click it it opens the respective link in new tab
Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1458
Description
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]
#1458 i have changed the tagged issue number fix i have made the links open in new tab when u click it which in result looks more systematic
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal  i have made an enhancement and have checked it please go thorugh it

@KhanjarSingh  Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile! Also Take a moment to ⭐ Star the repository if you haven't already.
Great contribution ! 🎉


feat(select): 远程搜索场景增加 label 回显能力

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

feat(select): 远程搜索场景增加 label 回显能力

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[x] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[x] TypeScript 定义已补充或无须补充
[x] Changelog 已提供或无须提供

Codecov Report

Merging #1318 (2ff7b89) into develop (492d477) will increase coverage by 0.34%.
The diff coverage is 70.89%.

@@             Coverage Diff             @@
##           develop    #1318      +/-   ##
===========================================
+ Coverage    57.94%   58.29%   +0.34%
===========================================
  Files          407      411       +4
  Lines        15371    15348      -23
  Branches      2931     2893      -38
===========================================
+ Hits          8907     8947      +40
+ Misses        6187     6132      -55
+ Partials       277      269       -8

Impacted Files
Coverage Δ

src/calendar/const.ts
100.00% <ø> (ø)

src/cascader/cascader.tsx
64.00% <ø> (ø)

src/color-picker/color-picker.tsx
81.25% <ø> (ø)

src/color-picker/panel/header.tsx
69.56% <ø> (-1.27%)
:arrow_down:

src/date-picker/base/Header.tsx
7.57% <0.00%> (-0.37%)
:arrow_down:

src/date-picker/date-picker-panel-props.ts
100.00% <ø> (+90.00%)
:arrow_up:

src/date-picker/date-range-picker-panel-props.ts
100.00% <ø> (+90.90%)
:arrow_up:

src/date-picker/date-range-picker-props.ts
42.85% <0.00%> (-11.69%)
:arrow_down:

src/date-picker/hooks/useRange.ts
35.89% <ø> (ø)

src/date-picker/hooks/useSingle.ts
37.28% <ø> (ø)

... and 158 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Query: nav rewrite doesn't get applied for cases when navigation is not based on qsre but more complex expression (e.g. qsre as DerivedType)

Repro using gears of war model:
ctx.Factions.Where(f => f is LocustHorde ? (f as LocustHorde).Commander == null : false)

still fails on current bits

Duplicate of #17475


add me to the list of maintainers

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

I've opened #8 to include this a few other maintenance bits and bobs before we go up to the next release @petrelharp


Displaying speaker org when position is empty

Actual Behaviour
If the speaker position is empty, the speaker org is not displayed.
Expected Behaviour
Display org when speaker position is empty.
Steps to reproduce it

LogCat for the issue

Screenshots of the issue

Would you like to work on the issue?
Yes.
Target Milestone to solve the issue
https://github.com/fossasia/open-event-android/milestone/28

@arp95 any screenshot in the app where you faced this?
Not sure what you meant by "Speaker position is empty"

@arp95 Should be fixed in #1565

@iamareebjamal actually have a look at the pr. this is quite different thats why i sent a separate pr.

@arp95 What @iamareebjamal  is saying that all ViewHolders have been moved into a separate file and all such issues have been taken care of supposedly.

@shreyasnbhat fine then.
@iamareebjamal i will have a look over there. just ensure when we display the org we dont use String.format(position, org) when position is null. That was causing the issue.


MetaDIG Quality report and tests

We need to review the existing quality reports and XML test to be able to write a sample test. This should help us assess if MetaDIG is flexible enough for us to use.

Download report and XML test here
Review existing XML tests structure here
Noel and Don get together to review it together

NCEAS/metadig-engine
Java engine that does metadata quality checks.
Each check is given in a rule file using a custom xml format.
The checks specify pieces of the metadata to look at (using an xpath selector), and has an algorithm to execute with the selected data to return either "SUCCESS" or "FAILURE". The algorithms can be given in R, Java, or python(?).
A check can also return messages about what it found or as warnings.
Each check has metadata for:

an identifier for the check
a name for the check
a plain text description of the check
a "type" (not sure what possible types are)
a level (INFO, OPTIONAL, REQUIRED)

The engine has a way to distribute and run jobs over many VMs.
They have adapted it to Kubernetes.
There are many components to the system: Metadig-controller, Metadig-engine-core, Metadig-report-worker, Metadig-index-worker
(https://github.com/NCEAS/metadig-engine/blob/master/docs/Architecture.md#metadig-system-components)
Observations

the checks are specifically for the metadata standards NCEAS uses: EML and ISO-19150
b/c of the specificity of the xpaths, the checks would need to be adapted to support other metadata standards.
the individual checks do not care about the xml format of the data, except for the need for xpath selectors
non-xml structured metadata (e.g. in JSON) could converted to a parallel form in xml.
checks only return "SUCCESS" or "FAILURE" as a status code. Checks do not support changing/adding/updating the metadata records.
While most checks are written in R, python is supported (e.g. see check /src/main/resources/checks/check-keywordPresent.xml )
checks can make web calls or import other packages

Open questions

Is it possible to deploy without using Kubernetes?

Thoughts

How much throughput does PresQT need for analyzing metadata records? The parallel approach may not be necessary. But if it is, metadig already has the processing infrastructure built-out.
If altering/enriching records is desired at some point, it might be more strategic to implement a similar engine that supports that functionality.
metadig is based on a centralized model. PresQT needs to determine whether that fits its use cases.

After a group discussion we decided that we would not pursue metadig for the moment because it does not have a way to enrich metadata. Also, right now we are not sure about the amount of distributed/consolidated architecture of the PresQT metadata.

PresQT assumes distributed metadata that our services meet where it is on one or more of  the repository systems at: osf.io, curatend.edu, https://library.ucsd.edu/dc/, https://hubzero.org/sites, http://opendata.cern.ch/,  etc?
Let's separate the desire for a metadata-write enhancement feature from the review of metadata-quality check reporting before we backburner investigation of metadig for presqt. Seems like we could at least create a set of generic metadata test definitions  based off theirs for the metadata we do want to support and run quality checks against?
What if all we want with metadig or "metadig-lite" or "son of metadig" on PresQT is the ability to generate metadata quality reports before and after another Presqt service does enhancement?
And we don't conflate that with a requirement to be able to use the same "tool" to do metadata enhancements?
Could we then (separated from enhancement feature requirements) use or re-use with revision for  PresQT target systems' metadata formats  any of 1)metadig code, 2)metadig test definitions, or 3)metadig approach to generate metadata quality reports?
Is there a reason in principle  the Metadig test definitions couldn't be recast out of xpaths to be "sent" against target digital  object metadata content at any known/reachable  URI?
we could then use an editor  like in CINERGI data discovery studio to do the enhancements by hand or to check automated machine generated metadata enhancements ?
Can we re-open this ticket and discuss the above a bit?

MetaDig is good for their environment and not everything in the documentation with the different modules is already working according to Peter Slaughter - also not all options are documented.
We talked about reusing the tests and I think that it is beneficial to reuse the tests. According to Markus and Don this can be easily rewritten for JSON and wouldn't  be a major effort instead of trying to connect to MetaDig.
CINERGI is a nice science gateway for browsing resources. CINERGI could be one of the partners. They seem to have part of their modules of the science gateway as open source provided
https://github.com/search?q=cinergi
They set up the community sources centrally for the different groups though. Maybe @nkmeyers you can contact them whether they are interested to collaborate with PresQT for adding features?

happy to do that, as if metadig is relieved of PresQT enhancement feature requirement then its high value test definitions could be very useful to us ? Maybe the CINERGI metadata notification and editor feature could be adopted by PresQT to relieve the enhancement editor feature? I'll reach out to Illya?

I think Ilya is the right contact on developer/software designer side.
I haven't envisioned a sophisticated editor for metadata enhancement for PresQT. My idea was to re-use something like https://github.com/skyhood/django-jsoneditor/tree/master/jsoneditor for the base user interface so that partners can test the enhancement service. That might be okay? If Ilya likes the idea of extending CINERGI that would be great! When he visited us, I asked him whether the system is open source. He said that not all parts are open source (yet).


dbConnect() no longer works after update to R 4.2.1 on Windows

I have two R installations on Windows:

R 4.0.4, with exasol package version 5.3.0, and DBI package version 1.1.3.
R 4.2.1, with exasol package version 7.1.0, and DBI package version 1.1.3.

When I try to connect to Exasol with the following code, it works without any problems on the first installation, but returns an error on the second one:
library(exasol)

con <- dbConnect("exa",
                 dsn = "Exasol",
                 schema = "...",
                 uid = "...",
                 pwd = "...")

The error is:

Error in odbcGetInfo(con) : argument is not an open RODBC channel
In addition: Warning messages:
1: In odbcDriverConnect(con_str) :
[RODBC] ERROR: state 08004, code -1, message [EXASOL][EXASolution driver]Connection exception - authentication failed.
2: In odbcDriverConnect(con_str) : ODBC connection failed

Let me know if you need more info about my setup.

@tomazweiss ,

Please send me the Exasol DB version you are connecting to, and the version of the Exasol ODBC driver installed on your machine.
2 Does the problem also occur with the latest version of r-exasol (7.1.0) on R R 4.0.4, or does it happen only on R 4.2.1?

Thanks.

@tomuben
The Exasol DB version is 7.1.5 and the ODBC driver version was very old - 6.0.0.
I have updated ODBC driver to 7.1.5 and now everything works fine. Thanks!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v2.6.19 to before v5.12.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9ec52099e4b8678a60e9f93e41ad87885d64f3e6",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b8ff869f20152fbe66b6c2e2715d26a2f9897cca"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "9ec52099e4b8678a60e9f93e41ad87885d64f3e6",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "b8ff869f20152fbe66b6c2e2715d26a2f9897cca",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "pid: take a reference when initializing `cad_pid`\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.12.10 by commit b8ff869f20152fbe66b6c2e2715d26a2f9897cca, it was introduced in version v2.6.19 by commit 9ec52099e4b8678a60e9f93e41ad87885d64f3e6. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000812


CHIP-0038: Revocable CATs

Glad we went with the name “revocation layer” instead of what it was before :)
I’m wondering if this CHIP considers whether this functionality also cover requirements from stablecoin issuers needed to issue them natively?  For example, from Circle’s terms:

Blocked Addresses & Forfeited Funds
Circle reserves the right to “block” certain USDC addresses and, if such addresses are Circle custodied addresses, freeze associated USDC (temporarily or permanently) that it determines, in its sole discretion, may be associated with illegal activity or activity that otherwise violates these Terms (“Blocked Addresses”). In the event that you send USDC to a Blocked Address, or receive USDC from a Blocked Address, Circle may freeze such USDC and take steps to terminate your USDC Account.

Blacklisting
USDC is issued and redeemed in accordance with Circle's blacklisting policy. Circle reserves the right to block the transfer of USDC to and from an address on chain as permitted under the blacklisting policy.

My assumption is yes in that a melt + remint could mimic the functionality of pause or temporary blacklist.

The intent certainly is to give options to stable coin providers also. The key focus is to make equity CATs legal under US state law and to provide for an improved stockholder experience in that they will be able to use existing processes to get their stock re issued should all of the layers of self custody safety fail.

One thing to note is that, given an unrevocable (i.e., vanilla) CAT coin with the same TAIL hash, value can be transferred between the two (i.e., you can spend revocable and unrevocable  coins together and change the amounts in each category). Not a problem if the issuer creates all CATs with revocation layers.

Revocable secure the bag will be interesting. You could unwind part of the bag and then revoke other parts to create a new bag. Not sure if there is a use-case for it but we get that for free.

Do we need to clarify that in the CHIP?

Yes we should clarify this. Feel free to do so, else I can also do it.

@freddiecoleman I don't think the hidden puzzle is a different thing. It's a puzzle that is only revealed when it's being used. Until then it just sits there, as a puzzle hash.
That's the case for both the delegated_or_hidden puzzle and the revocation_layer.
The fact that only the inner puzzle is being wrapped is a property of the revocation layer, not the hidden puzzle.

In the standard transaction even the hidden puzzle hash doesn't get revealed on a normal spend. In this case the hidden puzzle hash is curried in so if the issuer at any point revokes a CAT you will know what the hidden puzzle is.


supprimer le champ date au milieu du carnet

:tada: This issue has been resolved in version 1.128.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[WIP] Add Supplemental Reserves

Adds SupplementalStaticReserve. It will allow the user to add a reserve in PowerSimulations.jl that can be contributed both by committed and non-committed devices.

@andrewrosemberg can you please fix the tests to make the final review. The PR looks generally ok and could be included in the following release.

Closing it in favor of a future non-spinning PR


GTT-845 Settings model to include topic area labels

Description
Modified back-end to enhance the settings model to include topic area labels.
Testing
I updated the test suite to include the changes that I made, to ensure that they worked. I then ran the tests successfully on my local desktop.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Rebase your branch before merging and since you have multiple commits, it's better if you "Squash and Merge"

Rebase your branch before merging and since you have multiple commits, it's better if you "Squash and Merge"


[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?
[x] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[x] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[x] Have you created a .py in ~/pyod/models/?
[x] Have you created a _example.py in ~/examples/?
[x] Have you created a test_.py in ~/pyod/test/?
[x] Have you lint your code locally prior to submission?

###Integration of PyThresh
PyThresh is an outlier contamination library that finds the contamination of a dataset from the outlier decision scores. It can added as an optional install to PyOD to be used as a more statistical approach to contamination selection, and it includes over 30 thresholding methods. This addition to PyOD will hopefully add an additional layer to its capabilities as a front runner in outlier detection.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

145 of 198 (73.23%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 93.26%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_thresholds.py
93
94
98.94%

pyod/models/thresholds.py
29
81
35.8%

Files with Coverage Reduction
New Missed Lines
%

pyod/models/kpca.py
4
95.96%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
8524

Relevant Lines:
9140

💛  - Coveralls

@yzhao062 any progress on this pull request yet?

Sorry for being late. I will gradually get to this in December. Attending
conferences and interviews make it hard.
On Fri, Dec 2, 2022 at 12:38 PM KulikDM @.***> wrote:

@yzhao062 https://github.com/yzhao062 any progress on this pull request
yet?
—
Reply to this email directly, view it on GitHub
https://github.com/yzhao062/pyod/pull/454#issuecomment-1335575709, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTBN2QG2PQCIHE23JQRLMTWLIXX5ANCNFSM6AAAAAARYR4QHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yue Zhao
Ph.D. Student
Carnegie Mellon University https://www.cmu.edu/
1<PHONE_NUMBER> | @.*** @.**>
Homepage https://www.andrew.cmu.edu/user/yuezhao2/ | GitHub
https://github.com/yzhao062| Google Scholar
https://scholar.google.com/citations?user=zoGDYsoAAAAJ&hl | LinkedIn
http://www.linkedin.com/in/yzhao062 | CV
https://www.andrew.cmu.edu/user/yuezhao2/files/ZHAO_YUE_CV.pdf

@yzhao062 no worries. Thanks for the update and all the best with the conferences and interviews!

I will also do some local cleanup :)

Any thoughts to be acknowledged here? https://pyod.readthedocs.io/en/latest/about.html
Yue Zhao (Ph.D. Student @ Carnegie Mellon University):

- Initialized the project in 2017
- `Homepage <https://www.andrew.cmu.edu/user/yuezhao2/>`_
- `LinkedIn (Yue Zhao) <https://www.linkedin.com/in/yzhao062/>`_

Something like this will do the trick

@yzhao062 , this is such great news! Thank you for being so open to contributions and to receive acknowledgements. Much appreciated.
Will something like this work?
Daniel Kulik (Machine Learning Developer; MSc Student @ University of the Free State):

Joined 2022 (implemented integration with PyThresh and more)
LinkedIn (Daniel Kulik) <https://www.linkedin.com/in/daniel-kulik-148256223>_


Java Runtime incompatibility

Describe the bug
I have error
* What went wrong:
Execution failed for task ':app:shrinkVectorArtwork'.
> com/jzbrooks/vgo/Application has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

when running ':app:shrinkVectorArtwork'
I'm using build-in JDK, more info:
Android Studio 4.1.2
Build #AI-201.87<IP_ADDRESS>42882, built on December 20, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 4046M
Cores: 6
Registry: ide.new.welcome.screen.force=true, editor.full.width.scrollbar=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: com.codertainment.scrcpy, mobi.hsz.idea.gitignore, com.dubreuia, com.intellij.marketplace, org.jetbrains.kotlin, me.scana.okgradle, org.mapstruct.intellij, org.spekframework, com.developerphil.adbidea, com.wahdan.com.wahdan.spockAdb, Dart, io.flutter, de.mariushoefler.flutter_enhancement_suite, com.icapps.niddler

Expected behavior
Successful compression of all files
Desktop (please complete the following information):

OS: [e.g. iOS] Windows 10
Version [e.g. 22] 20H2

Additional context
Add any other context about the problem here.

I was not aware that I can do that 😂
I know that android studio 4.2 is going jdk 11 by default, but I was sure I need newer (unstable) gradle plugin for that. Will experiment, thanks

I use macOS personally with this homebrew tap, but I'm sure there are adoptopenjdk packages on homebrew as well. You should be able to install any JDK 11, set it as your java home, and run your build (if you're using Gradle daemons, then be sure to run gradlew --stop so that Gradle starts new daemons that will pick up your new environment.
You should also be able to configure Studio to use the same JDK as well through module settings.

I found AdoptOpenJDK on chocolatey and it's working great, thanks!

No problem. I also made a note in the readme about the compatibility b3a3f012b241e30b4a5b614dc63ae2e110aeb262.


Update deployment

ok, steps on thin ice. not sure it's true, but new k8s person (5 days practice for now) was screwed slightly. this should work from box with 1.18, glad for comments

Thanks!


Update precip variability demo

To fix a bug https://github.com/PCMDI/pcmdi_metrics/issues/900#issue-1594237952, I have updated precip variability demo and driver files.

Confirmed that the demo is running without an error.


Add env var related to google systems to ignored list

#620
When running transformers or other applications that use bitsandbytes on some GCP resources (such as Google VMs) the following traceback is encountered:
Traceback (most recent call last):
File "/home/gcpuser/sky_workdir/vanilla.py", line 3, in <module>
  from peft import AutoPeftModelForCausalLM
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/peft/__init__.py", line 22, in <module>
  from .auto import (
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/peft/auto.py", line 30, in <module>
  from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/peft/mapping.py", line 20, in <module>
  from .peft_model import (
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/peft/peft_model.py", line 26, in <module>
  from accelerate import dispatch_model, infer_auto_device_map
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/accelerate/__init__.py", line 3, in <module>
  from .accelerator import Accelerator
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/accelerate/accelerator.py", line 35, in <module>
  from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/accelerate/checkpointing.py", line 24, in <module>
  from .utils import (
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/accelerate/utils/__init__.py", line 132, in <module>
  from .bnb import has_4bit_bnb_layers, load_and_quantize_model
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/accelerate/utils/bnb.py", line 42, in <module>
  import bitsandbytes as bnb
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/__init__.py", line 6, in <module>
  from . import cuda_setup, utils, research
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/research/__init__.py", line 1, in <module>
  from . import nn
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/research/nn/__init__.py", line 1, in <module>
  from .modules import LinearFP8Mixed, LinearFP8Global
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/research/nn/modules.py", line 8, in <module>
  from bitsandbytes.optim import GlobalOptimManager
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/optim/__init__.py", line 6, in <module>
  from bitsandbytes.cextension import COMPILED_WITH_CUDA
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 13, in <module>
  setup.run_cuda_setup()
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 120, in run_cuda_setup
  binary_name, cudart_path, cc, cuda_version_string = evaluate_cuda_setup()
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 337, in evaluate_cuda_setup
  cudart_path = determine_cuda_runtime_lib_path()
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 295, in determine_cuda_runtime_lib_path
  cuda_runtime_libs.update(find_cuda_lib_in(value))
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 232, in find_cuda_lib_in
  resolve_paths_list(paths_list_candidate)
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 227, in resolve_paths_list
  return remove_non_existent_dirs(extract_candidate_paths(paths_list_candidate))
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 201, in remove_non_existent_dirs
  raise exc
File "/opt/conda/envs/vanilla/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 197, in remove_non_existent_dirs
  if path.exists():
File "/opt/conda/envs/vanilla/lib/python3.10/pathlib.py", line 1290, in exists
  self.stat()
File "/opt/conda/envs/vanilla/lib/python3.10/pathlib.py", line 1097, in stat
  return self._accessor.stat(self, follow_symlinks=follow_symlinks)
PermissionError: [Errno 13] Permission denied: '/root/google_vm_config.lock'

The cause appears to be that bitsandbytes is searching (I think) for Cuda drivers by scanning environment variables for strings that look like file paths.
/root/google_vm_config.lock is found in GOOGLE_VM_CONFIG_LOCK_FILE and is probably not needed to be searched.

Fixes the same issue as: https://github.com/TimDettmers/bitsandbytes/pull/622
Unsure, which is better, but if that is merged, this can be closed.

Running into this issue a lot recently - would love to have this merged!

This issue is impacting our ability to deploy BnB on Vertex. Would be really happy to see it merged.

Agreed, this is a no-brainer. Very lightweight PR that fixes a common issue on GCP. Would love to see this merged.

Thank for for this PR! Sorry it took so long.


More than TWO contributors?

There are supposed to be TWO contributors on this repo.
Why are there THREE?

Good morning,
My system crashed as you are aware so I had to use another person system
for my work.
I was able to commit with my name afterwards.
Regards,
On Wed, 21 Feb 2024, 10:36 Waheed Afolabi, @.***> wrote:

There are supposed to be TWO contributors on this repo.
Why are there THREE?
—
Reply to this email directly, view it on GitHub
https://github.com/Pelumikeh/capuccino/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGAPMLVUF2VLAFHCBF4Z3J3YUW52XAVCNFSM6AAAAABDSWBZT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DMMRVHA4TONA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


AzureAD and Local Auth broken after 2.2 Upgrade

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Upgraded Rancher v2.1.7 to v2.2.0
try to login via AzureAD (was working before)
Result:
HTTP 500 ERROR

ServerError (500)
Server error while authenticating

Other details that may be helpful:
error in rancher server log:
2019/03/27 06:08:35 [ERROR] API error response 500 for POST /v3-public/azureADProviders/azuread?action=login. Cause: error getting secret r[K}8:DksA)hHQ>Mh1%!k(MISSING):knV8DnVa6HVo5-O0X%!}(MISSING)qn&mFV%!H(MISSING)rK5F:X! invalid resource name "DksA)hHQ>Mh1%!k(MISSING):knV8DnVa6HVo5-O0X%!}(MISSING)qn&mFV%!H(MISSING)rK5F:X!": [may not contain '%!'(MISSING)]

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA): single install version 2.2.0

Hello,
local login is also broken:
2019/03/27 06:17:58 [ERROR] API error response 401 for POST /v3-public/localProviders/local?action=login. Cause: crypto/bcrypt: hashedPassword is not the hash of the given password

Version v2.1.7 -> v2.2.0 upgrade
I am having a hard time reproducing the problem from QA testing perspective.

Have single install (non-HA) rancher setup with v2.1.7 enable Azure AD auth. Log out and in to ensure is working.
Upgrade to v2.2.0. Login in again -- no issues logging in.
Log out and log in with local auth -- again no issues logging in.

I do not see any errors when watching rancher docker logs at INFO level. cc: @sangeethah

Tested the upgrade process again, same result

How can i help you to find the issue? The log looks not very helpful as it contains only these single error lines.

@cjellick  - This looks like a secret named "DksA)hHQ>Mh1%!k(MISSING):knV8DnVa6HVo5-O0X%!}(MISSING)qn&mFV%!H(MISSING)rK5F:X!" is breaking log in.  Can you have someone look into it.

Unable to repro this
On a 2.1.7 setup I enabled Azure AD auth and added another AD user as a cluster-member
Both AD users could logout and login
Upgraded to 2.2.0
Both users can still logout login. Logging in as local admin user works too.
The error that local user gets hashedPassword is not the hash of the given password seems to be because the hashed pwd we had saved for this user doesn't match the pwd user is currently provided.
@dnauck Did you happen to reset the local admin password using this command post upgrade? docker exec -ti <container_id> reset-password?

@dnauck when you say you tested the upgrade process again, does that mean you are able to revert to 2.1.7, see it working again, and then upgrade and see it fail again?

@cjellick yes, i created a snapshot of the vm, upgraded to v2.2.0 and tested. It was not working so i reverted the snapshot back and tested again with the same result.
@mrajashree no, didn't know this command

@dnauck do you know what version of Rancher you have upgrade through?

@cjellick i upgraded from v2.1.7 to v2.2.0 - or do you want to know sth. else?

The error message is coming from here which didn't exist in 2.1.7. It was added in this PR.

@dramich sure, v2.1.7 runs well, after upgrade to v2.2.0 it does not

@dnauck I am reaching out on user slack for some more info.

Thanks for identifying this issue @dnauck!

@dnauck  We have validated that this issue is fixed in rancher server version - v2.2.2-rc1 using AD auth which has a service account password which has ":". Details of tests done - https://github.com/rancher/rancher/issues/19346#issuecomment-479702279.
Could you please check if upgrading to v2.2.2-rc1 fixes your issue ?

@sangeethah i already changed the Azure AD App Secret to a value without a colon :(

@dnauck Thanks for reporting this issue .
Closing this issue per findings from https://github.com/rancher/rancher/issues/19346#issuecomment-479702279


Redo py3.11 sync branch with main

Redo of https://github.com/numba/numba/pull/8814 for better git history. The final diff is exactly the same as the previous PR.
Notes for reviewers:

Conflicts are preserved at the merge commit  (https://github.com/numba/numba/pull/8831/commits/8a897f52c5b27db2a3d05c55bc18909cf4705102).
Then the conflicts are all resolved in the next commit (https://github.com/numba/numba/pull/8831/commits/c7b9c9a432d5a31e9863b57b3e90f19168b61e6d).
The remaining commits are fixes for out-of-sync code that is not reconciled by the merge.

To test this I locally checked out the py3.11 branch at 27dd56a and merged ec5210242e400d281d6c52d633ce041f95f47e98 into it, then checked that the conflicts were the files listed in 8a897f5 and that the diff between this merge commit and c7b9c9a is empty. I did observe a minor difference in azure-pipelines.yml at the point of merging in and committing the actual conflicts in 8a897f5, but this is unlikely important as it is resolved to the point of being "the same" by the time c7b9c9a is reached (as noted previously by the empty diff).

Following on from https://github.com/numba/numba/pull/8831#issuecomment-1477686422, patches 0375955..f891b0a look good/as expected.

Redo of #8814 for better git history. The final diff is exactly the same as the previous PR.

Many thanks for doing this rewrite to help with the reviewing of this large merge. The diff of this patch against #8814 is indeed empty.

Notes for reviewers:
* Conflicts are preserved at the merge commit  ([8a897f5](https://github.com/numba/numba/commit/8a897f52c5b27db2a3d05c55bc18909cf4705102)).

Confirmed (with caveat as noted) in https://github.com/numba/numba/pull/8831#issuecomment-1477686422.

* Then the conflicts are all resolved in the next commit ([c7b9c9a](https://github.com/numba/numba/commit/c7b9c9a432d5a31e9863b57b3e90f19168b61e6d)).

Confirmed in https://github.com/numba/numba/pull/8831#issuecomment-1477686422.

* The remaining commits are fixes for out-of-sync code that is not reconciled by the merge.

Confirmed in https://github.com/numba/numba/pull/8831#issuecomment-1477694666.