Sydney 2016 Event Logistics - 30/07

Hey folks,
Rather than attempt to capture all the things we need to make the event go in the gitter chat I thought I'd create a high level issue here:

[ ] Venue
[ ] Food / Drinks
[ ] Kits

Given the short time frame until this event, I'm keen to focus on items 1 and 2 and potentially ease back on the tickets where people actually walk away from kit with the event.  This is something for discussion though, as if it's something that anyone has some great ideas for then we should definitely consider it.
Cheers,
Damon.

Excellent idea. I think we'll have some spare equipment in all the ordering
I've just done to potentially have some kits if you need them.
Focus on the top 2 and if you can leverage what we're doing then is just
gravy I reckon.
On Mon, Jun 13, 2016 at 4:56 PM Damon Oehlman<EMAIL_ADDRESS>wrote:

Hey folks,
Rather than attempt to capture all the things we need to make the event go
in the gitter chat I thought I'd create a high level issue here:

Venue
Food / Drinks
Kits

Given the short time frame until this event, I'm keen to focus on items 1
and 2 and potentially ease back on the tickets where people actually walk
away from kit with the event. This is something for discussion though, as
if it's something that anyone has some great ideas for then we should
definitely consider it.
Cheers,
Damon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48, or mute the thread
https://github.com/notifications/unsubscribe/AAHRo0O-5pIsKNl5KTCWcWYlbtHAtLG1ks5qLP8QgaJpZM4I0Cte
.

/cc @jtj02 @JohnAllsopp @web-goddess @pedalpete

So we can run the event at my office in Surry Hills that's not a problem. I can also look into some food options.

The event falls on the weekend between our Sydney and Melbourne Code conferences - so hopefully we can promote it to our audiences, but glad it can be hosted at DTO as we'll likely be a bit hectic in that period.
Very happy to provide thoughts and support around logistics.
Should we loop in Justin Mclean from IOTSydney? They've got a great community around this space and he'd be a gretcontrobutior IMO.

@JohnAllsopp cool - Yeah I was trying to locate Justin on github or email but couldn't find anything.  He's participated in one a couple of years ago and was a great asset then so would love him to be involved again if he is available :)
So should we all agree that the 30/07 is the best date for Sydney (feel free to respond with reactions), for the following reasons:

Falls between Web Directions Code Sydney and Melbourne
Gives us a little more breathing room to pull it all together
Any excess kits from Melbourne / Brisbane could make their way down to Sydney for those interested

If this is good for everyone / most folks then I'll update the title on the issue to reflect our commitment to that date.

Shall I follow him up?
On 14 June 2016 at 09:27, Damon Oehlman<EMAIL_ADDRESS>wrote:

@JohnAllsopp https://github.com/JohnAllsopp cool - Yeah I was trying to
locate Justin on github or email but couldn't find anything. He's
participated in one a couple of years ago and was a great asset then so
would love him to be involved again if he is available :)
So should we all agree that the 30/07 is the best date for Sydney (feel
free to respond with reactions), for the following reasons:

Falls between Web Directions Code Sydney and Melbourne
Gives us a little more breathing room to pull it all together
Any excess kits from Melbourne / Brisbane could make their way down
to Sydney for those interested

If this is good for everyone / most folks then I'll update the title on
the issue to reflect our commitment to that date.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48#issuecomment-225738009,
or mute the thread
https://github.com/notifications/unsubscribe/AAKvHR-98RoXS5cc5hMf-AQAH-qYjgEaks5qLedagaJpZM4I0Cte
.

--
john allsopp
@johnallsopp
+61 0405 149 597

@JohnAllsopp yes please :)

OK, so Justin is justinmclean
Also, Patrick Catanzariti?

Sweet, /cc @justinmclean (must have been a spelling issue on my part when searching).
Unfortunately @patcat is overseas at that time and is (sadly) unable to participate.

shame about patcat
j
On 14 June 2016 at 10:45, Damon Oehlman<EMAIL_ADDRESS>wrote:

Sweet, /cc @justinmclean https://github.com/justinmclean (must have
been a spelling issue on my part when searching).
Unfortunately @patcat https://github.com/patcat is overseas at that
time and is (sadly) unable to participate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48#issuecomment-225750565,
or mute the thread
https://github.com/notifications/unsubscribe/AAKvHR4CwwKkQvFzO2-eawhLvDuFkFMZks5qLfnFgaJpZM4I0Cte
.

--
john allsopp
@johnallsopp
+61 0405 149 597

@catherine-jones Any info you can provide on the number of people that the venue can hold?  Given you are in Surry Hills maybe I should pop over for a visit sometime to get a feel for it.  Running nodebots generally needs some allocation of desk space for people to hack on things and then if they have driving type projects they are working on (which we may not be attempting to do this Sydney event) then some random floor space also.
Thanks again for offering up a venue, it makes a big difference to being able to host an event :)

@DamonOehlman So the floor we are currently on can accomodate a maximum of 60 people.  We are expected to be getting another floor at the end of this month but these things normally get delayed so if we stick to the one floor I think it will be a lot easier. If you want to come check out the office that would be great. I am interstate next week but I will be back in the office on the 28th if you want to stop by.

@JohnAllsopp I know you are probably really busy mate, but just wondering if you might be able to coordinate with @catherine-jones for a trip out to the DTO office to see how well the space will work for Nodebots?  I head away for a fortnight starting tomorrow and @catherine-jones and I haven't been able to sync up today, so would really appreciate it if you could spare the time.

Happily @DamonOehlman
@catherine-jones I'm round today - any time suit?
j

Sorry @JohnAllsopp - I forgot to clarify that @catherine-jones is out of the office today which is why we couldn't manage to catch up.

gotcha - @catherine-jones just let me know when might suit, I'm in most days, everyday this week

What about between 10 and 1 tomorrow @JohnAllsopp?
Sent from my iPhone

On 27 Jun 2016, at 11:21 AM, John Allsopp<EMAIL_ADDRESS>wrote:
gotcha - @catherine-jones just let me know when might suit, I'm in most days, everyday this week
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

sorry @catherine-jones does 1230 work? what floor you folks on?

Hey all - Thanks for looping me in, Damon. Let me know what I can do to help out. I can definitely promote via the usual Girl Geeks channels. I can also put in a few hours at the event itself. (May be tricky as it's my husband's birthday!)

@johnallsop sorry just saw your message at lunch now does 1.30 work?
Sent from my iPhone

On 28 Jun 2016, at 12:01 PM, John Allsopp<EMAIL_ADDRESS>wrote:
sorry @catherine-jones does 1230 work? what floor you folks on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

sure - see you up there around then?
j
On 28 June 2016 at 12:49, Catherine<EMAIL_ADDRESS>wrote:

@johnallsop sorry just saw your message at lunch now does 1.30 work?
Sent from my iPhone

On 28 Jun 2016, at 12:01 PM, John Allsopp<EMAIL_ADDRESS>wrote:
sorry @catherine-jones does 1230 work? what floor you folks on?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48#issuecomment-228934252,
or mute the thread
https://github.com/notifications/unsubscribe/AAKvHfTz8oIcPLuA7Mv31bNGSistZn2kks5qQIvIgaJpZM4I0Cte
.

--
john allsopp
@johnallsopp
+61 0405 149 597

@johnallsop 241 commonwealth st level 2. You will need to give me a call<PHONE_NUMBER> so I can let you up
Sent from my iPhone

On 28 Jun 2016, at 12:50 PM, John Allsopp<EMAIL_ADDRESS>wrote:
sure - see you up there around then?
j
On 28 June 2016 at 12:49, Catherine<EMAIL_ADDRESS>wrote:

@johnallsop sorry just saw your message at lunch now does 1.30 work?
Sent from my iPhone

On 28 Jun 2016, at 12:01 PM, John Allsopp<EMAIL_ADDRESS>wrote:
sorry @catherine-jones does 1230 work? what floor you folks on?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48#issuecomment-228934252,
or mute the thread
https://github.com/notifications/unsubscribe/AAKvHfTz8oIcPLuA7Mv31bNGSistZn2kks5qQIvIgaJpZM4I0Cte
.

--
john allsopp
@johnallsopp
+61 0405 149 597
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

just shot you an email @catherine-jones

Just dropped by to see the DTO premises - I think it will work really well. A good sized screen for any presentations, and there'll be tables spread across a reasonable sized area. In all, will be a great space.
The floor has a maximum number of 60, so we'll have to think about how to make RSVPs work.
Next steps?

Hi Team,
So now that we are all set for the venue. I was just wondering if anyone had suggestions/ideas on everything else such as ticketing and kits? I think we should defiantly order kits ASAP so they arrive in time

I should be able to bring around 10 ed1 boards to loan out for the day.
Regards,
John Judge
On 2/07/2016 10:57 am, Catherine wrote:

Hi Team,
So now that we are all set for the venue. I was just wondering if anyone
had suggestions/ideas on everything else such as ticketing and kits? I
think we should defiantly order kits ASAP so they arrive in time
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodebotsau/nbdau/issues/48#issuecomment-230074798,
or mute the thread
https://github.com/notifications/unsubscribe/ADSKrsGTyEeyDAY1U2HlF2WbyKVRU9zaks5qRbeCgaJpZM4I0Cte.

Hey folks - back from holiday yesterday and starting to get a handle on things back at home.  I'll look at setting up a ticketing page shortly.  Everyone else seems to be using eventbrite but we've had a good relationship with ti.to through CampJS so I'll probably go with that for the Sydney event.
From a ticketing tiers perspective, I think we should just go with a flat rate price rather than the more complicated pricing (probably just a $20 ticket, with perhaps a $10 student ticket option available).  I'll see if I can source some gear that we can use on the day - possibly encouraging people to work together to keep the total number of boards that we might need in Sydney to a sensible quantity.
I came across this online retailer tonight that seems pretty reasonable price wise so might get in touch with them:
http://www.auselectronicsdirect.com.au/
With regards to covering the cost of hardware, that could probably be done with some left over funds from the most recent CampJS before it all gets transferred into the hopefully soon to be created JS Australia org (/cc @twalve). I'm hoping that JS Australia can help out with some of the financial stuff with Nodebots as well so this doesn't have to be taken care of by individuals as I assume it is now (this has certainly been the case for CampJS).

OK - I've put in an order with that site so hopefully that all works out nicely.  I've reconsidered only having the one price point and I think we should have:

30 x Regular Ticket - $20
30 x Experimenter Ticket - $40 (Includes Arduino Nano Board but no additional hardware)

A STUDENT discount code will be available for both tickets which will apply a $10 discount to both tickets.
In terms of hardware, the aus electronics site lists a list of self contained modules and I've purchased variety of those for people to experiment with on the day and purchased a swag load of jumper lead in various configurations (plug - plug, plug - socket, even a few socket - socket).  All being well that will be delivered in the next couple of days and I'll have a handle on whether we do need any backup supplies from interstate.

Just letting folks know that the hardware arrived today and it's looks like I've got a good selection.  Need to inventory it all to make sure it is all there and run a few cursory checks but we are looking good :)
I'll put a ticket site up in ti.to and let people know here.  There will additionally be a MENTOR2016 discount code that will take $20 off the price - essentially making the regular ticket free.  This is of course assuming you are coming along to help folks out ;)

Ticket site live - if mentors could register that would be great.  I've made 60 tickets total available based on the advice of @JohnAllsopp and @catherine-jones but we could drop that to 50 for the time being to give us a little headroom if we need it.

I'm happy to wrangle many folks if you need more mentors! And attendees of course
I'll definitely be there 💃
I'll make a slide for next Wednesday night's SydJS and the Wednesday after's SydJS/SydCSS combo event

If that doesn't fill all 50 slots I don't know what will! 😄

Hi,
I’ll sign up as a mentor for the day I’ll also email Sydney mailing list (1300+ people) in a day or two so hopefully you’ll get a few sign up from that.
I may be able to wrangle a few mentors as well how many do we need?
Other than my usual kit (soldering iron and kit and few random bit and pieces) is there anything else you expect mentors to bring along?
Thanks,
Justin

I'll pass it on to the other I know people happy to mentor - what's the link?

Oh yeah, a link to the ticket page... I forgot to include that:
https://ti.to/nbdau/nodebots-syd-2016
Any typos LMK and I'll update it :)

@justinmclean @lyntco Thanks.  In terms of mentor numbers, it's always a bit hard to tell.  If we assume that we have 60 people though, and 50 people have zero experience with some aspect of nodebots (either the software or the electronics), then having 10 mentors would probably be ideal.  It would also be the most I expect we've had at a Nodebots event (though I didn't make it along last year, so I don't know).
Justin - with regards on what to bring.  Bringing along the soldering iron would be great, and if there are any electronics components that you would normally be using to introduce people to when they get started that would be great also (I'm happy to reimburse you for cost of replacement, or whatever you purchase for the day).
We don't have kits like previous years, but rather I've opted to purchase a variety of these self-contained sensors for people to experiment with on the day.  This should be able to give folks a similar experience to what they get with the ED1 boards that @jtj02 will be bringing along.  That does, however, leave a gap around actually understanding some electronics basics which I'm sure some folks will be interested in.  I know yourself, John Judge and Callum Smits would be able to help with.

Also, a nice writeup from @cheshrkat on the ED1 from the first time we ran the event in SYD:
http://weblog.200ok.com.au/2013/07/nodebots-sydney-2013-and-nicta-ed1.html

Heh, too kind.

Seriously disappointed that I'll be missing this!!! I'm keen to try to at least spread the word about it via my Dev Diner newsletter and social medias — what is the best link/links to share with people to encourage them to come along?

@patcat I guess probably the nodebotsau.io page as I'd hate for them to hit the ticket page and just find there are no tickets left.  That said, the ticket page does have the site URL up there fairly prominently so I think it's probably your call mate :)
Tickets URL: https://ti.to/nbdau/nodebots-syd-2016

Not long to go now folks.  Of the 50 (I've left 10 up our sleeve) tickets available for sale, all but 9 are sold.  In terms of remaining todos before Saturday, there is:

Organise some lunch catering. I've made contact with Taste Baguette who are just around the corner from the event location.  We very occasionally have these at Canva and I think they are excellent :)

Provide some clarification on the website as per #49 regarding the date, though I guess it might be less of an issue now.  Still worth doing though.

Think about the logistics of getting people into DTO. I'm assuming there is some kind of pass security, and if so we'll need a volunteer to let people into the building and put their mobile number up somewhere so late comers can get into the building.

Register if you are coming along to the event and haven't already.  NOTE: If you are thinking of dropping in for a couple of hours and helping our with mentoring, that's pretty much what the additional ticket headroom is for.  If you are going to be around at lunchtime though please let me know and I'll include you in the what would you like to eat for lunch mail out :)

Stuff done:

Sold tickets
Received all the gear
Wrote some examples for the gear I've received and test that the specific modules are working.  Some of the items (not yet listed) proved to be not yet supported into nodebots land, so I might include them in a stretch goals section if anyone does want to have a play.

@catherine-jones Just wondering if there are any other folks from DTO coming along on the day?  If not, would you be happy to be the contact person for people coming in late?  Again, I'm assuming that there are some security swipe access points and if there aren't then LMK :)

@DamonOehlman I think it's just going to be me possibly one more but not counting on it.  I am happy to be the contact person, people will need an access pass to get in and out of the level. I will try and get some spares. Let me know if you need anything else

@DamonOehlman I'm registered for Saturday and will be around most of the day including lunch :).    I was wondering if there was any point bringing some other kit along - a few raspberry pis? I have also have some ESP8266's (D1 Mini's) but when I put espruino on them a simple digitalWrite seemed to hang them so not sure if they're so useful.

Hi,
I’ll should be about all day (including lunch) as well.
Thanks,
Justin

Thanks folks - apologies I missed all the replies due to poor email management :(
@catherine-jones Sounds great - thanks.
@callumsmits Absolutely - feel free to bring whatever you want (also @justinmclean), the main aim of nodebots is to open a world of possibilities to people they hadn't considered, and also give more experienced folks a day to get together with others and just hack on stuff :)
Also, I've investigated a few options with regards to catering, and while I'd love to do something more fancy on the day, I think the simplest option that caters for a variety of dietary requirements will be mainstream pizza delivery.    I'll include the ability to specify a custom pizza option too for people with more specific dietary requirements, i.e. vegan.
I'll also look at getting something for afternoon tea in case people are peckish in the afternoon.

Hi. It would be a good idea to send out a reminder email to the attendees with times, location, what to bring etc. Thanks again for organising -John

@johnk- Yep - that's on the list of things TODO tonight :)

@DamonOehlman I can confirm that I have 10 ed1 boards to bring on Saturday


Fort battles not working

same issue as kastav for stormcloaks, rikke mentions it

(that setting up missions was a false positive)
but doesn't actually issue the quest

update: it works again idk how  or why might be on my end but still worth looking into

also fort snowhawk

if this is a mod conflict on my end i have no clue what is causing it as i do not have conquest installed atm and with almost 130 mods active i'll never be able to pin point it

this isn't an issue for all forts the follow offence missions work without any issue for imperials: fort greenwall, fort greymoor fort kastav, dunstad, snowhawk (i think)

i have not tested stormcloak side but i assume these still apply this was in a save where i swapped sides if that helps

I created experimental release https://github.com/schofida/CWORR/releases/tag/v1.0.7a to resolve.
This release laxed the dialogue conditions for the fort sieges. Please check if you get the prompt this time. Also make sure to speak with the Rikke/Galmar again after accepting the missions. I want to ensure that they do not try to give you the Fort siege quest again.

Fort Snowhawk (imperials) didn't boot but that was my current campaign so might have been that. Fort Kastav (imperials) was already a working fort battle (stormcloak is the broken one) gonna wait for markarths fort to see if it will function

okay new update, it works now the only issue is Rikke lacks some dialogue (she gave me both kill commander and take fort snowhawk

Can you let me know if this continues to be a problem. I re-arranged the quests so hopefully they work. Also, can you let me know if you skipping passed the dialogue quickly? I normally don't do that but that could be part of the problem, I am setting stuff mid-dialogue to prevent issues like #49 from happening.

i don't think this is related to this issue but with fort commanders installed battle for fort neugard wasn't given to me

Understood. That issue is still open. I need to do more testing.


setting 3.6 version to 3.6.8

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

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

No longer needed since we got rid of 3.6 support. It's EOL anyways.


[2.x] Wrong position of compiler errors in build.sbt

While trying to load softwaremill/sttp with sbt 2.0.0-alpha12-SNAPSHOT I noticed that the positions of the compilation errors in build.sbt were wrong. It seems there are some negative offset.
I did not manage to reproduce this in a minimal build.sbt though.

I did not manage to reproduce this in a minimal build.sbt though.

not negative but wrong position warning example.
sbt 2.0.0-M2
TaskKey[Int]("a1") := {
  Stream(1).sum
}

TaskKey[Int]("a2") := {
  Stream(2).sum
}

TaskKey[Int]("a3") := {
  Stream(3).sum
}

actual
-- Deprecation Warning: build.sbt:2:2 ----------------------
2 |  Stream(1).sum
  |  ^^^^^^
  |getter Stream in package scala is deprecated since 2.13.0: Use LazyList instead of Stream
-- Deprecation Warning: build.sbt:2:2 ----------------------
2 |  Stream(2).sum
  |  ^^^^^^
  |getter Stream in package scala is deprecated since 2.13.0: Use LazyList instead of Stream
-- Deprecation Warning: build.sbt:2:2 ----------------------
2 |  Stream(3).sum
  |  ^^^^^^
  |getter Stream in package scala is deprecated since 2.13.0: Use LazyList instead of Stream

expect
5,6c5,6
< -- Deprecation Warning: build.sbt:2:2 ----------------------
< 2 |  Stream(2).sum
---
> -- Deprecation Warning: build.sbt:6:2 ----------------------
> 6 |  Stream(2).sum
9,12c9,12
< -- Deprecation Warning: build.sbt:2:2 ----------------------
< 2 |  Stream(3).sum
---
> -- Deprecation Warning: build.sbt:10:2 ----------------------
> 10 |  Stream(3).sum


error on running dateset codes

@yuxng said he updated the code for latest version of Sophus and Eigen. i tried it once and didnt work. with git pull origin in $ROOT/DA-RNN and complied successfully. for the error: cannot find -ltensorflow_framework.   librensorflow, librensorflow_framework are tensorflow dynamic lib which be installed addionally. check http://platanios.org/tensorflow_scala/installation.html#installation-0-dependencies-1 and http://www.rubydoc.info/github/somaticio/tensorflow.rb. dont forget copy the libs to path: /usr/lib/
first run training code come out errors about python version problems. my default version of python is 3.5 and the codes is python2, so i change my default python version and reinstalled tensorflow. then comes some strange errors:
when i try
./experiments/scripts/shapenet_scene_multi_rgbd.sh 0
error : terminate called after throwing an instance of 'std::bad_alloc' what():  std::bad_alloc
i traced it back, the command line: from networks.factory import get_network, is the source for this error. i dont kown how to fix it.
when i try
sudo ./experiments/scripts/shapenet_scene_multi_rgbd_test.sh 0
error: ImportError: libkfusion.so: cannot open shared object file: No such file or directory. but libkfusion.so exits in /kinect_fusion/ build
when i try
./experiments/scripts/shapenet_scene_multi_rgbd_test.sh 0
error: ImportError: ../lib/kinect_fusion/kfusion.so: undefined symbol: _ZN2df12KinectFusion10save_modelESs .  kfusion.so exits also in path /kinect_fusion.
wondering is there anyone running all codes successfully without encountering these errors or how u fix with it ?

So I had the same issue. However, I solved it by referring to another issue that people encountered while implementing Fast RCNN TF. The simple solution is to add -D_GLIBCXX_USE_CXX11_ABI=0 in the /lib/make.sh for each g++ compilation. Then, recompile everything. It works for me.

@wsndy1010 Hi, I encountered the same undefined symbol error as you did. I am wonder if you solved it.

@Wei2624 no, i give it up


Fix incorrect import of total_ordering

Fixes our tests from failing against Django's main as of https://github.com/django/django/pull/16958/commits/ee36e101e8f8c0acde4bb148b738ab7034e902a0.
Based on the description of that commit and Python's docs:

Note
While this decorator makes it easy to create well behaved totally ordered types, it does come at the cost of slower execution and more complex stack traces for the derived comparison methods. If performance benchmarking indicates this is a bottleneck for a given application, implementing all six rich comparison methods instead is likely to provide an easy speed boost.

and given that we only have two instances of total_ordering within the codebase, I think it's worth having a good first issue to replace total_ordering with our own comparison functions implementation. Will create one shortly. Edit: it's #10526.
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

Looks like the issue is bigger than that, as _delegate_text no longer exists on the Promise object. Will take a look later.

@laymonage I want to make my first pr in wagtail , could i have a chnace to start working on this?

Hi @MikeMavrok, not quite sure what you refer to by "this", as this is a PR, not an issue.
The problem with _delegate_text I mentioned above seems to stem from telepath, a separate package used within Wagtail.
I'd assume you meant you'd like to work on #10526? If so, feel free to have a go! If you can create a PR for that issue, I'll close this PR as it will no longer be needed.

Have now released the fixed version of telepath as v0.3.1, so the pinning can be removed.

Thanks @gasman, I took the opportunity to unpin django-taggit as well.


Fix SharedArrayBuffer for Samsung Internet

Fixes #6487.
Haven't managed to get the version range on browserstack, but matching the versions on MDN for support: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#browser_compatibility
https://tests.caniuse.com/sharedarraybuffer:

Thanks!


Don't color diffs when --color=never is used

Previously, colors would be shown all the time, even when --color=never was passed
fix #265
Hey! I think I followed the contributing guide correctly, if I forgot something, please let me know.

Thanks for your contribution again. I fixed the typo 🚀


misleading comments

The comments for the function def _linear(args, output_size, bias, bias_start=0.0): in tensorflow/tensorflow/contrib/rnn/python/ops/core_rnn_cell_impl.py says:
def _linear(args, output_size, bias, bias_start=0.0):
  """Linear map: sum_i(args[i] * W[i]), where W[i] is a variable.
  Args:
    args: a 2D Tensor or a list of 2D, batch x n, Tensors.
    output_size: int, second dimension of W[i].
    bias: boolean, whether to add a bias term or not.
    bias_start: starting value to initialize the bias; 0 by default.

However, the function is not implemented as sum_i(args[i] * W[i]).
The key parts in the implementation in line 894-897:
    if len(args) == 1:
      res = math_ops.matmul(args[0], weights)
    else:
      res = math_ops.matmul(array_ops.concat(args, 1), weights)

The args list is firstly concatenated, then matmul with the weights tensor. This is totally different from what said in the comments that Linear map: sum_i(args[i] * W[i]), where W[i] is a variable.
So, the comments should probably be rewritten like Linear map: first, concatenate the args if it is a list, then matmul with a weight tensor.

Sorry, I just found that they are in fact the same.
Please close this issue.
Sorry for proposing a wrong issue.


AttributeError: module 'shapely' has no attribute 'affinity'

Please note
File "G:\practice\SiamFC\siamfc-pytorch-master\tools\test.py", line 8, in
from got10k.experiments import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments_init_.py", line 3, in
from .got10k import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments\got10k.py", line 14, in
from ..utils.metrics import rect_iou
File "E:\anaconda\1\lib\site-packages\got10k\utils\metrics.py", line 4, in
from shapely.geometry import box, Polygon
File "E:\anaconda\1\lib\site-packages\shapely\geometry_init_.py", line 23, in
import shapely.speedups
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 99, in
enable()
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 69, in enable
_orig['affine_transform'] = shapely.affinity.affine_transform
AttributeError: module 'shapely' has no attribute 'affinity'
Operating system
win10
Shapely version and provenance
anaconda
pip install Shapely-1.7.1-cp37-cp37m-win_amd64.whl

@aaahuia I am unable to reproduce this problem. Can you provide any more information?

It's highly advised to conda install shapely on Anaconda rather than pip install ...

@aaahuia I am unable to reproduce this problem. Can you provide any more information?

I think it is the environmental problem of my configuration. After I changed the environment, I installed it in the same way and no error was reported.


Modern Authentication for Gmail accounts

[Enter feedback here]
This is not feedback for the documentation as much as it is feedback for the product itself.
Yesterday I tried adding my Gmail to Outlook, and I was presented with an IE browser to sign-in to my google account. I couldn't complete the sign-in due to Javascript being blocked in IE by our security baseline.
I'm curious as to why this is not opening in an edge based browser?

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

ID: 861173eb-69e2-109a-bfea-3a22440f5854
Version Independent ID: 861173eb-69e2-109a-bfea-3a22440f5854
Content: Basic authentication sign-in prompts are blocked by default in Microsoft 365 Apps - Deploy Office
Content Source: DeployOffice/security/basic-authentication-prompts-blocked.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


[Comment if interested] .NETCore and Mono Support

From @0x1mason on August 6, 2017 16:40
Copied from original issue: 0x1mason/GribApi.NET#73

From @eriove on August 6, 2017 17:48
We would appreciate .NETCore support but it is really on the "nice to have" list and not anything that would really change our usage.

From @IdahoSixString on August 7, 2017 16:40
This is a nice to have not a necessity in my mind.

From @Andreas-Lehmann on November 15, 2017 7:16
Would be great to have .NET Core support since this gets more and more common for new projects.


How can i get scripts from models in the workspace to show?

self explanatory

If models in your workspace directory are rbxm files, then those files can just have the scripts and argon will port it over

If models in your workspace directory are rbxm files, then those files can just have the scripts and argon will port it over

uhhhhh no? its just a model in studio

https://github.com/argon-rbx/argon/assets/118916772/dc99bf3e-6b7d-45b4-bd39-5e97f6a5e624

What do you mean by show? We have very little information on what you are trying to do.

What do you mean by show? We have very little information on what you are trying to do.

In roblox studio i have a model with a script in it and i want to see that in vsc

Did you follow this tutorial? There is everything you need.


syncyomi: init at 1.1.1

Description of changes
SyncYomi, an open-source project to synchronize Tachiyomi manga reading progress and library across multiple devices.
I've also written a NixOS service module that is working for me so far but will probably need some more polishing before a PR (documentation, hardening, adding postgres support, etc.).
This replaces my previous PR #301155 which needed to fix several build errors and then another upstream release happened in the meantime, so I opted to make a new PR for this (also because I had accidentally based that PR off of my fork's master branch which was slightly inconvenient for me).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I made a module for this package: I'll make a PR when this will be merged!

I updated the PR to use the new-ish pnpm.fetchDeps.

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

1 package failed to build:

syncyomi


Change the error message or reason on Result Parameter Too Large

Feature request
The current message for a step that has a Termination message is above max allowed size 4096 is appended to the containers (step) log and not passed back into the TaskRun and therefore cannot be easily consumed by an interacting system.
The condition is a generic failure message about looking at the logs rather than highlighting the actual issue.
status:
  completionTime: "2021-06-24T00:36:45Z"
  conditions:
  - lastTransitionTime: "2021-06-24T00:36:45Z"
    message: |
      "step-task" exited with code 1 (image: "docker.io/boomerangio/worker-flow@sha256:d8c227694c8779447ff790199717fe1812e9924c168089789a13fb77bd7bc930"); for logs run: kubectl -n bmrg-dev logs bmrg-flow-task-60d3d39278ff9138268edd5c-2lw8j-pod-zphpz -c step-task
    reason: Failed
    status: "False"
    type: Succeeded

The step (container) log shows the actual issue
{"level":"fatal","ts":1624495004.2589571,"caller":"entrypoint/entrypointer.go:155","msg":"Error while handling results: Termination message is above max allowed size 4096, caused by large task result.","stacktrace":"github.com/tektoncd/pipeline/pkg/entrypoint.Entrypointer.Go\n\tgithub.com/tektoncd/pipeline/pkg/entrypoint/entrypointer.go:155\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/entrypoint/main.go:119\nruntime.main\n\truntime/proc.go:204"}

The change I am advocating is that we update either the message or reason to be due to a documented known failure reason such as

status
reason
completionTime is set
Description

"False"
TaskRunResultTooLarge
Yes
A step in the TaskRun has exceeded the maximum allowed 4096 byte size for Result Parameters.

Reference: https://tekton.dev/docs/pipelines/taskruns/#monitoring-execution-status
Use case
This would allow systems (as well as users) that interact with Tekton to understand the issue by interrogating the condition. At the moment there is no way to distinguish this error from any other container terminating with an error code.

Hey @sbwsg I know it was mentioned in #4012 that you are looking at #4150 about termination message structure.
I was wondering if the above is of any interest in adding an additional termination message type? I am happy to submit a PR but would need some guidance on where in the code base to start.

I like the idea of surfacing explicit reasoning of the failure rather than a generic message. And until we propose and implement alternative to a termination message, the users can be benefited with this feature.
At the same time, I am not sure how to surface container logs into the run status 😜
So the error is generated here,
https://github.com/tektoncd/pipeline/blob/c975119b18506c08529be71841e1ab2bb2335f5a/pkg/termination/write.go#L51-L53
The entrypoint calls WriteMessage while reading the results from the files they were written in and storing them as part of the termination message:
https://github.com/tektoncd/pipeline/blob/c975119b18506c08529be71841e1ab2bb2335f5a/pkg/entrypoint/entrypointer.go#L230-L233
That error is returned back from:
https://github.com/tektoncd/pipeline/blob/c975119b18506c08529be71841e1ab2bb2335f5a/pkg/entrypoint/entrypointer.go#L201-L207
And, if the error is returned as MessageLengthError, the error is captured in the container logs:
https://github.com/tektoncd/pipeline/blob/c975119b18506c08529be71841e1ab2bb2335f5a/cmd/entrypoint/main.go#L132-L134
I can further look into it and help out if needed to surface this error to the run status.

Hi @pritidesai apologies I never got back to this one. To be honest, I am relatively new to Go programming (I am a java programmer) so would need a fair amount of guidance in making any code base changes.


use rrtmgp v0.15.1

Purpose

This fixes some aquaplanet runs. See comment in #3110
To-do

Content

[ ] I have read and checked the items on the review checklist.

For some reason this changes some other packages. Any idea why?

For some reason this changes some other packages. Any idea why?

How did you update the manifests? Some packages may have been updated by a resolve or similar call

superseded by #3114


test_restarts_under_load failing

From https://github.com/zenithdb/zenith/pull/1280#issuecomment-1059826743
After poking it I see that sometimes during the whole iteration period (10s) some backend(s) never manage to finish the transaction. Walproposer looks healthy, seems like it is a client problem, as if it just never sends next query. e.g.
ars      2403558       1  0  6786 14904   1 Mar06 ?        00:00:00 /home/ars/zenith/zenith/tmp_install/bin/postgres -D /home/ars/zenith/zenith/test_output/test_restarts_under_load/repo/pgdatadirs/tenants/15f66b94744b4a3292d08f1b76a51037/test_wal_acceptors_restarts_under_load
ars      2403560 2403558  0  6817  4788   7 Mar06 ?        00:00:00  \_ postgres: checkpointer
ars      2403561 2403558  0  6819  4424   6 Mar06 ?        00:00:00  \_ postgres: background writer
ars      2403562 2403558  0  6786  2504   8 Mar06 ?        00:00:00  \_ postgres: walwriter
ars      2403563 2403558  0  6962  7240  10 Mar06 ?        00:00:00  \_ postgres: autovacuum launcher
ars      2403564 2403558  0  4084  2632   1 Mar06 ?        00:00:00  \_ postgres: stats collector
ars      2403565 2403558  0  9527 16828   7 Mar06 ?        00:00:25  \_ postgres: WAL proposer streaming 0/32CB1F0
ars      2403566 2403558  0  6926  5636   2 Mar06 ?        00:00:00  \_ postgres: logical replication launcher
ars      2403579 2403558  0  7238 14756   2 Mar06 ?        00:00:00  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35176) idle
ars      2403611 2403558  0  7089 15120   6 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35178) idle in transaction
ars      2403612 2403558  0  7091 14972   2 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35180) UPDATE waiting
ars      2403613 2403558  0  7091 15052   8 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35182) idle in transaction
ars      2403614 2403558  0  7089 15000   8 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35184) idle in transaction
ars      2403615 2403558  0  7091 15092  10 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35186) UPDATE waiting
ars      2403616 2403558  0  7091 14912   6 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35188) UPDATE waiting
ars      2403617 2403558  0  7090 15060   5 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35190) UPDATE waiting
ars      2403618 2403558  0  7091 15184   8 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35192) UPDATE waiting
ars      2403619 2403558  0  7090 13684   3 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35194) UPDATE waiting
ars      2403620 2403558  0  7090 14560   7 Mar06 ?        00:00:12  \_ postgres: zenith_admin postgres <IP_ADDRESS>(35196) UPDATE waiting
ars      2404784 2403558  0  7628 17360   4 Mar06 ?        00:00:00  \_ postgres: zenith_admin postgres [local] idle

So almost everyone waits for 2403614, and that backend did first update and now waits for the client to perform the second
[local]:15014 zenith_admin@postgres:2404784=#
select * from pg_stat_activity where pid = 2403614;
-[ RECORD 1 ]----+-----------------------------------------------------------
datid            | 12974
datname          | postgres
pid              | 2403614
leader_pid       |
usesysid         | 10
usename          | zenith_admin
application_name |
client_addr      | <IP_ADDRESS>
client_hostname  |
client_port      | 35184
backend_start    | 2022-03-06 20:07:51.061371+00
xact_start       | 2022-03-06 20:08:48.642718+00
query_start      | 2022-03-06 20:08:48.643332+00
state_change     | 2022-03-06 20:08:58.971861+00
wait_event_type  | Client
wait_event       | ClientRead
state            | idle in transaction
backend_xid      | 100966
backend_xmin     |
query_id         |
query            | UPDATE bank_accs SET amount = amount + ($1) WHERE uid = $2
backend_type     | client backend

Not sure how that's possible.

I tried to reproduce your observations, got similar results, but for me it seems more like there is some problem with locks in postgres, rather than client issue.
From my observations, iteration usually have some progress in about ~1 second, or doesn't have progress at all for 10-20 seconds (that's why test is failing). What I tried to do was to collect various useful info once there is no progress in iteration. I do this by running psql -c "SELECT * FROM pg_stat_activity", and strangely enough, this SELECT hangs for 10-20 seconds and completes only after iteration starts to show progress. It was reproduced for several times, here's an example:
19:40:37 - new iteration has no progress (txes are stuck)
ps ax shows this:
 114225 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43178) UPDATE waiting
 114227 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43180) UPDATE waiting
 114228 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43182) UPDATE waiting
 114229 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43184) UPDATE waiting
 114230 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43186) UPDATE waiting
 114231 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43188) UPDATE
 114232 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43190) UPDATE waiting
 114233 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43192) UPDATE waiting
 114235 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43194) UPDATE waiting
 114236 ?        Ss     0:18 postgres: zenith_admin postgres <IP_ADDRESS>(43196) UPDATE

psql for pg_stat_activity responds only at 19:40:51, when iteration has already finished, reports this:
datid | datname  |  pid   | leader_pid | usesysid |   usename    | application_name | client_addr | client_hostname | client_port |         backend_start         |          xact_start           |          query_start          |         state_change          | wait_event_type |     wait_event      |        state        | backend_xid | backend_xmin | query_id |                           query                            |         backend_type
-------+----------+--------+------------+----------+--------------+------------------+-------------+-----------------+-------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------+-----------------+---------------------+---------------------+-------------+--------------+----------+------------------------------------------------------------+------------------------------
       |          | 114046 |            |          |              |                  |             |                 |             | 2022-03-08 19:38:26.821149+00 |                               |                               |                               | Activity        | AutoVacuumMain      |                     |             |              |          |                                                            | autovacuum launcher
       |          | 114049 |            |       10 | zenith_admin |                  |             |                 |             | 2022-03-08 19:38:26.821515+00 |                               |                               |                               | Activity        | LogicalLauncherMain |                     |             |              |          |                                                            | logical replication launcher
 13008 | postgres | 114145 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43154 | 2022-03-08 19:38:36.926781+00 |                               | 2022-03-08 19:40:47.030632+00 | 2022-03-08 19:40:47.030846+00 | Client          | ClientRead          | idle                |             |              |          | SELECT pg_current_wal_flush_lsn()                          | client backend
 13008 | postgres | 114225 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43178 | 2022-03-08 19:38:39.047488+00 | 2022-03-08 19:40:51.076809+00 | 2022-03-08 19:40:51.076809+00 | 2022-03-08 19:40:51.076885+00 | Client          | ClientRead          | idle in transaction |             |              |          | BEGIN;                                                     | client backend
 13008 | postgres | 114227 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43180 | 2022-03-08 19:38:39.047659+00 | 2022-03-08 19:40:51.075756+00 | 2022-03-08 19:40:51.076598+00 | 2022-03-08 19:40:51.076717+00 |                 |                     | idle in transaction |      261679 |              |          | UPDATE bank_accs SET amount = amount - ($1) WHERE uid = $2 | client backend
 13008 | postgres | 114228 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43182 | 2022-03-08 19:38:39.048009+00 | 2022-03-08 19:40:50.459575+00 | 2022-03-08 19:40:51.076975+00 | 2022-03-08 19:40:51.076976+00 | IPC             | SyncRep             | active              |      261578 |              |          | COMMIT;                                                    | client backend
 13008 | postgres | 114230 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43186 | 2022-03-08 19:38:39.048279+00 | 2022-03-08 19:40:51.076312+00 | 2022-03-08 19:40:51.076765+00 | 2022-03-08 19:40:51.076996+00 | Client          | ClientRead          | idle in transaction |      261681 |              |          | UPDATE bank_accs SET amount = amount + ($1) WHERE uid = $2 | client backend
 13008 | postgres | 114232 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43190 | 2022-03-08 19:38:39.048398+00 | 2022-03-08 19:40:50.813095+00 | 2022-03-08 19:40:50.813393+00 | 2022-03-08 19:40:50.813393+00 | Lock            | transactionid       | active              |      261661 |       261467 |          | UPDATE bank_accs SET amount = amount - ($1) WHERE uid = $2 | client backend
 13008 | postgres | 114235 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43194 | 2022-03-08 19:38:39.048663+00 | 2022-03-08 19:40:51.076451+00 | 2022-03-08 19:40:51.076968+00 | 2022-03-08 19:40:51.076969+00 | Client          | ClientRead          | active              |             |       261578 |          | UPDATE bank_accs SET amount = amount + ($1) WHERE uid = $2 | client backend
 13008 | postgres | 114233 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43192 | 2022-03-08 19:38:39.048537+00 | 2022-03-08 19:40:51.075164+00 | 2022-03-08 19:40:51.076839+00 | 2022-03-08 19:40:51.076839+00 | IPC             | SyncRep             | active              |      261677 |              |          | COMMIT;                                                    | client backend
 13008 | postgres | 114231 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43188 | 2022-03-08 19:38:39.049858+00 | 2022-03-08 19:40:51.075224+00 | 2022-03-08 19:40:51.076639+00 | 2022-03-08 19:40:51.076725+00 | IPC             | SyncRep             | idle in transaction |      261678 |              |          | INSERT INTO bank_log VALUES ($1, $2, $3)                   | client backend
 13008 | postgres | 114236 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43196 | 2022-03-08 19:38:39.048776+00 | 2022-03-08 19:40:51.075804+00 | 2022-03-08 19:40:51.076184+00 | 2022-03-08 19:40:51.076184+00 | Lock            | transactionid       | active              |      261680 |       261578 |          | UPDATE bank_accs SET amount = amount + ($1) WHERE uid = $2 | client backend
 13008 | postgres | 114229 |            |       10 | zenith_admin |                  | <IP_ADDRESS>   |                 |       43184 | 2022-03-08 19:38:39.04795+00  | 2022-03-08 19:40:51.074831+00 | 2022-03-08 19:40:51.076655+00 | 2022-03-08 19:40:51.076656+00 | IPC             | SyncRep             | active              |      261676 |              |          | COMMIT;                                                    | client backend
 13008 | postgres | 115100 |            |       10 | zenith_admin | psql             | <IP_ADDRESS>   |                 |       46174 | 2022-03-08 19:40:38.111575+00 | 2022-03-08 19:40:50.197456+00 | 2022-03-08 19:40:50.197456+00 | 2022-03-08 19:40:50.197457+00 |                 |                     | active              |             |       261578 |          | SELECT * FROM pg_stat_activity                             | client backend
       |          | 114044 |            |          |              |                  |             |                 |             | 2022-03-08 19:38:26.820909+00 |                               |                               |                               | Activity        | BgWriterMain        |                     |             |              |          |                                                            | background writer
       |          | 114043 |            |          |              |                  |             |                 |             | 2022-03-08 19:38:26.820495+00 |                               |                               |                               | Activity        | CheckpointerMain    |                     |             |              |          |                                                            | checkpointer
       |          | 114045 |            |          |              |                  |             |                 |             | 2022-03-08 19:38:26.820935+00 |                               |                               |                               | Activity        | WalWriterMain       |                     |             |              |          |                                                            | walwriter
(17 rows)

Not sure if pg_stat_activity tries to acquire some common lock or postgres is just unresponsive for processing transactions and new connections.

Tried to dig deeper, seems that I know where bug is now, but not entirely sure yet.
The issue is still not stable to reproduce, but I managed to get backtrace of SELECT * FROM pg_stat_activity backend when everything is stuck:
#0  0x00007f690dd7f58a in epoll_wait (epfd=10, events=0x55fd6c453568, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x000055fd6ac23956 in WaitEventSetWaitBlock (set=0x55fd6c453508, cur_timeout=-1, occurred_events=0x7ffd5d97a050, nevents=1) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/ipc/latch.c:1450
#2  0x000055fd6ac237d1 in WaitEventSetWait (set=0x55fd6c453508, timeout=-1, occurred_events=0x7ffd5d97a050, nevents=1, wait_event_info=134217734) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/ipc/latch.c:1396
#3  0x000055fd6ac22b11 in WaitLatch (latch=0x7f690d6a8ff4, wakeEvents=33, timeout=-1, wait_event_info=134217734) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/ipc/latch.c:473
#4  0x000055fd6ac35ae6 in ConditionVariableTimedSleep (cv=0x7f690d2f2ca0, timeout=-1, wait_event_info=134217734) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/lmgr/condition_variable.c:163
#5  0x000055fd6ac35a14 in ConditionVariableSleep (cv=0x7f690d2f2ca0, wait_event_info=134217734) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/lmgr/condition_variable.c:100
#6  0x000055fd6ac0fffa in WaitIO (buf=0x7f690d1f1780) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/buffer/bufmgr.c:4427
#7  0x000055fd6ac10088 in StartBufferIO (buf=0x7f690d1f1780, forInput=true) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/buffer/bufmgr.c:4464
#8  0x000055fd6ac0a636 in BufferAlloc (smgr=0x55fd6c4f53f0, relpersistence=112 'p', forkNum=MAIN_FORKNUM, blockNum=0, strategy=0x0, foundPtr=0x7ffd5d97a261) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/buffer/bufmgr.c:1165
#9  0x000055fd6ac09aaf in ReadBuffer_common (smgr=0x55fd6c4f53f0, relpersistence=112 'p', forkNum=MAIN_FORKNUM, blockNum=0, mode=RBM_NORMAL, strategy=0x0, hit=0x7ffd5d97a383) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/buffer/bufmgr.c:864
#10 0x000055fd6ac09765 in ReadBufferExtended (reln=0x7f690d10a168, forkNum=MAIN_FORKNUM, blockNum=0, mode=RBM_NORMAL, strategy=0x0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/storage/buffer/bufmgr.c:771
#11 0x000055fd6a77da6d in heapgetpage (sscan=0x55fd6c5252a8, page=0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/access/heap/heapam.c:400
#12 0x000055fd6a77f63d in heapgettup_pagemode (scan=0x55fd6c5252a8, dir=ForwardScanDirection, nkeys=0, key=0x0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/access/heap/heapam.c:899
#13 0x000055fd6a780ea3 in heap_getnextslot (sscan=0x55fd6c5252a8, direction=ForwardScanDirection, slot=0x55fd6c524c80) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/access/heap/heapam.c:1396
#14 0x000055fd6aa3f537 in table_scan_getnextslot (sscan=0x55fd6c5252a8, direction=ForwardScanDirection, slot=0x55fd6c524c80) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/include/access/tableam.h:1044
#15 0x000055fd6aa3f603 in SeqNext (node=0x55fd6c524ad0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeSeqscan.c:80
#16 0x000055fd6a9febf5 in ExecScanFetch (node=0x55fd6c524ad0, accessMtd=0x55fd6aa3f56b <SeqNext>, recheckMtd=0x55fd6aa3f614 <SeqRecheck>) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execScan.c:133
#17 0x000055fd6a9fec9a in ExecScan (node=0x55fd6c524ad0, accessMtd=0x55fd6aa3f56b <SeqNext>, recheckMtd=0x55fd6aa3f614 <SeqRecheck>) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execScan.c:199
#18 0x000055fd6aa3f66a in ExecSeqScan (pstate=0x55fd6c524ad0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeSeqscan.c:112
#19 0x000055fd6a9faa97 in ExecProcNodeFirst (node=0x55fd6c524ad0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execProcnode.c:463
#20 0x000055fd6aa1df99 in ExecProcNode (node=0x55fd6c524ad0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/include/executor/executor.h:257
#21 0x000055fd6aa1e267 in MultiExecPrivateHash (node=0x55fd6c5ae670) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHash.c:166
#22 0x000055fd6aa1e1cb in MultiExecHash (node=0x55fd6c5ae670) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHash.c:115
#23 0x000055fd6a9fab8a in MultiExecProcNode (node=0x55fd6c5ae670) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execProcnode.c:519
#24 0x000055fd6aa24c6f in ExecHashJoinImpl (pstate=0x55fd6c5a0e18, parallel=false) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHashjoin.c:291
#25 0x000055fd6aa253da in ExecHashJoin (pstate=0x55fd6c5a0e18) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHashjoin.c:591
#26 0x000055fd6a9faa97 in ExecProcNodeFirst (node=0x55fd6c5a0e18) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execProcnode.c:463
#27 0x000055fd6aa24841 in ExecProcNode (node=0x55fd6c5a0e18) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/include/executor/executor.h:257
#28 0x000055fd6aa24ba6 in ExecHashJoinImpl (pstate=0x55fd6c5a0b10, parallel=false) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHashjoin.c:262
#29 0x000055fd6aa253da in ExecHashJoin (pstate=0x55fd6c5a0b10) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/nodeHashjoin.c:591
#30 0x000055fd6a9faa97 in ExecProcNodeFirst (node=0x55fd6c5a0b10) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execProcnode.c:463
#31 0x000055fd6a9eea73 in ExecProcNode (node=0x55fd6c5a0b10) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/include/executor/executor.h:257
#32 0x000055fd6a9f14ac in ExecutePlan (estate=0x55fd6c5a08a0, planstate=0x55fd6c5a0b10, use_parallel_mode=false, operation=CMD_SELECT, sendTuples=true, numberTuples=0, direction=ForwardScanDirection, dest=0x55fd6c456e18, execute_once=true) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execMain.c:1551
#33 0x000055fd6a9ef14d in standard_ExecutorRun (queryDesc=0x55fd6c52c570, direction=ForwardScanDirection, count=0, execute_once=true) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execMain.c:361
#34 0x000055fd6a9eef5c in ExecutorRun (queryDesc=0x55fd6c52c570, direction=ForwardScanDirection, count=0, execute_once=true) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/executor/execMain.c:305
#35 0x000055fd6ac6124b in PortalRunSelect (portal=0x55fd6c4c0020, forward=true, count=0, dest=0x55fd6c456e18) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/tcop/pquery.c:921
#36 0x000055fd6ac60e84 in PortalRun (portal=0x55fd6c4c0020, count=9223372036854775807, isTopLevel=true, run_once=true, dest=0x55fd6c456e18, altdest=0x55fd6c456e18, qc=0x7ffd5d97ac30) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/tcop/pquery.c:765
#37 0x000055fd6ac5bbca in exec_execute_message (portal_name=0x55fd6c456a00 "", max_rows=9223372036854775807) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/tcop/postgres.c:2197
#38 0x000055fd6ac5ef06 in PostgresMain (argc=1, argv=0x7ffd5d97ae80, dbname=0x55fd6c484038 "postgres", username=0x55fd6c484010 "zenith_admin") at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/tcop/postgres.c:4579
#39 0x000055fd6ab845ff in BackendRun (port=0x55fd6c47d430) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/postmaster/postmaster.c:4536
#40 0x000055fd6ab83eb8 in BackendStartup (port=0x55fd6c47d430) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/postmaster/postmaster.c:4258
#41 0x000055fd6ab7ffa0 in ServerLoop () at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/postmaster/postmaster.c:1751
#42 0x000055fd6ab7f739 in PostmasterMain (argc=3, argv=0x55fd6c4524e0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/postmaster/postmaster.c:1423
#43 0x000055fd6aa74c68 in main (argc=3, argv=0x55fd6c4524e0) at /home/arthur/zenith/tmp_install/build/../../vendor/postgres/src/backend/main/main.c:216

It seems that this backend blocked on waiting for shared buffer, so I increased shared_buffers to 512MB and tried to reproduce issue again.
After that, issue started taking more time to reproduce, but test now fails on ~25 iteration and everything hangs for a substantial time (no progress for several minutes, at least). That's convinient for debug, and I got backtrace for all postgres processes when everything is stuck.
Here's ps ax and backtraces of all postgres processes.
All processes are waiting for something, and that is one of:

WaitOnLock
zenith_call
something else, not so important

After one minute in stuck state, pageserver errors with:
2022-03-11T09:41:28.615078Z ERROR pagestream{timeline=e0663c93c24bf813ca8fe4ee74805b87 tenant=6cb477bf02b94fde8fba3be27f7b7d5e}: error reading relation or page version: Timed out while waiting for WAL record at LSN 0/E814A78 to arrive, last_record_lsn 0/C89C390 disk consistent LSN=0/169AFA8

Caused by:
    SeqWaitError

The most obvious explanation for this is that WAL is stuck on safekeeper and recent logs are not streamed to pageserver, and there's likely a bug somewhere nearby send_wal.rs

I tried bisecting the issue and it got me to fa8a6c0e94405f03345293f43a6b3ad74c734750, i.e. issue appeared when we disabled debug logs in safekeeper (that increased safekeeper perf in 1.5-2 times in local tests). Without logs issue is reproduced for commits from January, so it's not a recent bug.
I added metric for last_record_lsn in pageserver and collected all prometheus metrics while test is running. Here're results for shared_buffers=512MB:

Red line here is last_record_lsn in pageserver and green/yellow/blue are flush_lsn from safekeepers.
So, it looks like pageserver isn't able to keep up with safekeepers and LSN gap is increasing between them. After some time (probably when shared_buffers are filled up) compute starts making requests which call wait_lsn() in pageserver and transactions hang at this moment. On the graph it looks like blue line became flat in the end.
Same metrics when shared_buffers=1MB:

This time pageserver also falls behind, but wait_lsn() is called more frequently and gap doesn't grow too big and usually is resolved in a minute. Sometimes gap is large enough to wait 10s or more, this is exactly the case when test_restarts_under_load fails.
The situation where transactions hang for 10+ seconds (because compute needs to wait for pageserver to catch up) doesn't look good, I wonder if backpressure supposed to solve this? For shared_buffers=1MB problem doesn't look too bad, because everything continues to work normally after 10 seconds. For shared_buffers=512MB situation is worse, because requests are timed out after 1 minute and this error aborts the transaction.
Not sure what is the next step for this issue.

Test failed on main, logs have nothing suspicious but it seems that pageserver is lagging behind:
pytest logs:
2022-03-28 11:03:59.839 INFO [test_wal_acceptor_async.py:122] Safekeeper at port 15302 has flush_lsn 0/38F8550, waiting for lsn 0/38F8428

pageserver logs:
2022-03-28T11:04:10.249026Z  INFO WAL receiver{timeline=de7ca380458cd3988596165d9a630b8f tenant=08767d593179452881f06dbd8720f5b7}: caught up at LSN 0/312D2A8


Player: Events listening interface

@diegomarcon I'd rather not make external event callbacks fall through directly to the container.
It may seem weird, but it would be better if the Player class extends BaseObject, exposing PlayerEvents as actual events. This way we avoid coupling the external interface to the container/playback internal interface, as well as exposing inner behavior.


Fix add patient in activity log

I rule and have completed some work on Case Manager that's ready for review!
Removed the current user parameter, it messed with the route.
This pull request makes the following changes:

Fix and test

It relates to the following issue #s:

Fixes #1494

hey @tingaloo can you bring this up to speed when you get a minute? would like to get it out in the next deploy if possible. thank you! 💯


Request: overlay text in uppercase only

Hi
First of all a big thanks, this app is exactly what I was looking for.
To my question, is it possible to show the complete overlay text from the theme "a State of overlay" in capital letters?

Yes! you could use some custom css for this.
If you're using OBS or StreamLabs you can add this code to the Custom CSS field of the browser source.
.track-current {
	text-transform: uppercase;
}

Like such:

Yes! you could use some custom css for this.
If you're using OBS or StreamLabs you can add this code to the Custom CSS field of the browser source.
.track-current {
	text-transform: uppercase;
}

Like such:

Thanks man, great app and good work. You made my day :)

Thanks man, great app and good work. You made my day :)


Update website header to include the blog link

Thought if you already made the effort to write blogs, also show people and let them navigate there ;D

Keeping it here, until I get 10 blogs under the Blogs Hub.
Once it's there I will merge the PR
Please make it Blogs instead of Blog
Thanks for adding it 😅

Thanks Michael 🔥


upload version 7.0.0 to npm

As of June 2 the latest version available on npm is 6.1.0-debug-cookie.1
https://www.npmjs.com/package/amplitude-js

Thanks, fixed https://www.npmjs.com/package/amplitude-js


YAML Example for Esphome?

Would it be possible for you to share an example YAML on how to use this? I'm designing a open-source PCB to work inside a Jura with an EPS32 and this would pair perfectly.

I've tried the below with no success:
`external_components:

source: github://xdecock/esphome-jura
components: [jura]
refresh: 1s

uart:
tx_pin: GPIO22
rx_pin: GPIO21
baud_rate: 9600
id: uart_bus
sensor:

platform: jura
ristretto:
name: "Ristretto Count"
platform: jura
ristretti:
name: "Ristretti Count"
platform: jura
espresso:
name: "Espresso Count"
platform: jura
espressi:
name: "Espressi Count"
platform: jura
coffee:
name: "Coffee Count"
platform: jura
double_coffee:
name: "Double Coffee Count"
platform: jura
powder_coffee:
name: "Powder Coffee Count"
platform: jura
cappuccino:
name: "Cappuccino Count"
platform: jura
latte_machiato:
name: "Latte Macchiato Count"
platform: jura
milk:
name: "Milk Count"
platform: jura
water:
name: "Water Count"
platform: jura
cleaning:
name: "Cleaning Status"
platform: jura
cappuccino_cleaning:
name: "Cappuccino Cleaning Status"
platform: jura
water_filter:
name: "Water Filter Status"`

what jura do you have? i have a J6, and it was a mess to get all the commands, I'd probably need to add a way to provide the mapping

Impressa J9 here, sorry
esphome:
  name: "coffee"
  friendly_name: "coffee"
  platformio_options:
    board_build.flash_mode: dio

external_components:
  - source: github://xdecock/esphome-jura@main

esp32:
  board: lolin_c3_mini
  framework:
    type: esp-idf

# Enable Home Assistant API
api:
  encryption:
    key: "random="

ota:
  password: "random"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  output_power: 8.5

# Enable logging
logger:
  level: DEBUG
  hardware_uart: USB_SERIAL_JTAG
#  level: INFO

uart:
  tx_pin: GPIO7 # D3
  rx_pin: GPIO8 # D2
  baud_rate: 9600
  rx_buffer_size: 256
  id: uart_bus

#debug:

# Example configuration entry
time:
  - platform: homeassistant
    id: homeassistant_time
    update_interval: 600s

sensor:
  # Uptime sensor.
  - platform: uptime
    name:  Uptime
  - platform: jura
    id: num_espresso
    espresso:
      name: Espresso
    espressi:
      name: Espressi
    ristretto:
      name: Ristretto
    ristretti:
      name: Ristretti
    coffee:
      name: Coffee
    double_coffee:
      name: Double Coffee
    powder_coffee:
      name: Powder Coffee
    cappuccino:
      name: Cappuccino

switch:
  # Example configuration entry
  - platform: gpio
    pin: GPIO10 #D1
    id: power_on
    name: "Power On"
    on_turn_on:
    - delay: 200ms
    - switch.turn_off: power_on
    restore_mode: ALWAYS_OFF

#custom_component:
#- lambda: |-
#    auto my_jura = new JuraCoffee(id(uart_bus),id(num_espresso), id(num_double_espressi), id(num_ristretto), id(num_double_ristretti), id(num_big_coffee), id(num_double_coffee), id(num_cappuccino), id(num_latte_machiato), id(num_powder_coffee), id(num_milk), id(num_water), id(num_cleaning), id(num_cappuccino_cleaning), id(num_filters), id(power_status), id(err_tray), id(err_tank), id(err_grounds), id(rinsing_status));
#    App.register_component(my_jura);
#    return {my_jura};

Here is my yaml slightly pruned.
The tricky part is finding the correct numbers and offset for the counters i initialy implemented a custom uart component, and it was tricky to get the records.

Thank you, I'll give this a shot and see what I can get working. I saw in your code that you've made some room for stuff like actually pressing buttons/actions and sensors for power, tray, water etc. Is that something you're working on implementing as well, and would you want help discovering those commands?

no, i got all the commands, but they're exposed as service, i just need to document how you can call them, but i got home assistant automations on those.
i call : esphome: coffee_press_coffee (which presses the coffee button) for double coffee you need double call with a 400ms delay) and in my experience a 80s is a good delay after a double coffee to do a quad coffee, but ymmv

I've been playing around with this for a few weeks now and I've gotten the buttons to work (make a espresso etc), but for the life of me I can't get the sensors/water/tray/number of cups to work with the YAML above. Any chance you could give a pointer on how to call those or check if the YAML you posted above is correct?

Water and tray i'm not sure i got them right if i remember correctly
there's some register read that provide bits but i never quite got which
bit means what, the counters were ok, but error fields looked from what i
remember as a complex set of combinations and each time inthought i got the
right one i saw nothing change with another set of conditions, i suspect we
can get all internal binary sensors
Le ven. 10 nov. 2023, 14:28, Oakman @.***> a écrit :

I've been playing around with this for a few weeks now and I've gotten the
buttons to work (make a espresso etc), but for the life of me I can't get
the sensors/water/tray/number of cups to work with the YAML above. Any
chance you could give a pointer on how to call those or check if the YAML
you posted above is correct?
—
Reply to this email directly, view it on GitHub
https://github.com/xdecock/esphome-jura/issues/1#issuecomment-1805726205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAME7LCZSW2RK4HIVTHL33YDYTXRAVCNFSM6AAAAAA6OJV2DGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVG4ZDMMRQGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


PAY-2892: Add BatchTransaction support into SDKS

Can you update the readme to cover the new endpoint.


js_delregistry doesn't unregister the object class

The following example fails in the constructor of the unregistered object:
Error: Failing in constructor

It should fail as if the class Yyy has never been registered:
ReferenceError: 'Yyy' is not defined

#include <mujs.h>

const char *Tag = "Yyy";

void fnConstr(js_State *J) {
        js_newerror(J, "Failing in constructor");
        js_throw(J);
}

int main() {
        js_State *J = js_newstate(0, 0, 0);

        // register
        js_newobject(J);
        js_setregistry(J, Tag);
        js_pushglobal(J);
        js_getregistry(J, Tag);
        js_newcconstructor(J, fnConstr, fnConstr, Tag, 0);
        js_defproperty(J, -2, Tag, JS_DONTENUM);
        js_pop(J, 1);

        // unregister
        js_delregistry(J, Tag);

        // run
        js_dostring(J, "new Yyy");

        // cleanup
        js_gc(J, 0);
        js_freestate(J);
}

Um, no? You clearly stored your constructor under the Tag name in global object, deleting your prototype object from registry does change absolutely nothing, registry is there just to be some sort of hidden value storage, which keeps values from being collected, deleting anything from registry doesn't remove this automatically from the other places. Your example code makes zero sense as well, so i guess you have just misunderstood some concepts here.

The documentation for the registry says: "The registry can be used to store references to Javascript objects accessible from C, but hidden from Javascript to prevent tampering."
I don't know what makes you think this means that objects put in the registry will be accessible from Javascript.
I'm afraid I also have no idea what your code example wants to accomplish. If you remove the invisible from JS stashing and removing the object from the registry, it's creating a function and assigning that to "global.Xxx" and then calling it. Sounds like your output is exactly what is supposed to happen based on your code.


Unable to obtain LTC price data for BTCC, whether Tradebot or Importing

Hello, I am trying to fix compatibility with Gekko and BTCC. However I am unable to find the page where I can create API keys. Where did you create those for BTCC?

I am a bit poor in English, the following is translated by google translation.
btcc this exchange company, which has two main sites, respectively, btcchina.com bitbell Chinese platform, and btcc.com bit currency cc. Their api addresses are https://www.btcchina.com/apidocs/ and https://www.btcc.com/apidocs. Btcchina.com should be the earliest trading volume of the largest.

I am trying to login in either and create API keys, but the API keys page gives this error:

But if I go to the link everything is filled in and okay:

I am not sure how I can debug btcc exchange if I cannot create API keys..

(Access Key) : 6b736416-b581-48fe-a5a9-5fe44d5e7462
(Secret Key) : 003e501f-f1f6-4c7c-ab1e-9e14001e73fd
There is no balance in the account, do not know whether there is an impact

@FreeAlexhere You should cancel/delete the exposed keys immediately. You don't want the public to see your secrets

@FreeAlexhere like @tuxitor said it is better to revoke rights to these keys (consider them compromised).
If you can provide me keys and a deposit address I can work on Gekko on BTCC (I cannot promise anything though). Can you please mail me at<EMAIL_ADDRESS>

@tuxitor The apI no money, but still thank you for your reminder,

@askmike I sent an e-mail to you, real-name authentication request to upload a photo of the identity card, also requires the bank certification, I can not complete the time. Unfortunately

Gentlemen I am a bit confused, is BTCC working? If not I can share new credentials

Unfortunately BTCC is not enabled anymore..


macOS 10.13.6 installation: cannot run C++ compiled programs

Hello,
Running ./configure fails with "configure: error: cannot run C++ compiled programs." A bigger picture - I'm trying to compile ea-utils, which fails with the same error.
The detailed output of ./configure is:
checking whether make sets $(MAKE)... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/Users/mdozmorov/Documents/nobackup/ea-utils/clipper/sparsehash':
configure: error: cannot run C++ compiled programs.

And the full config.log is attached.
Thanks for your help,
Mikhail
config.log

https://github.com/ExpressionAnalysis/ea-utils/issues/75
you could try this to see if it works for you

The sparsehash-c11 version doesn't have the configure file. When I just try running make, it still errors:
<... lots of outputs skipped ...>
      testing::internal::UniversalTersePrinter<wchar_t const*>::Print(wchar_t const*, std::__1::basic_ostream<char, std::__1::char_traits<char> >*) in gmock-gtest-all.o
  "_write", referenced from:
      testing::internal::DeathTestImpl::Abort(testing::internal::DeathTest::AbortReason) in gmock-gtest-all.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:46: sparsehash_unittests] Error 1

I'm not very familiar with C code structure and compiling, so not sure where to go from here...

https://github.com/sparsehash/sparsehash-c11 is header only - there is no configure required.
make is just compiling the tests, which it looks like you're having trouble with a system call with

are you positive your compiler is not misconfigured in some way?

Not sure what may be misconfigured. The system is rather fresh. I've been googling, finding some suggestions about "LD_LIBRARY_PATH" variable (empty in my case), but not sure where to go from there. My configuration files are rather simple: dotfiles.
And, some info about gcc and g++:
/usr/bin/gcc
(base) MacBook-Pro-4:dotfiles mdozmorov$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(base) MacBook-Pro-4:dotfiles mdozmorov$ which g++
/usr/bin/g++
(base) MacBook-Pro-4:dotfiles mdozmorov$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(base) MacBook-Pro-4:dotfiles mdozmorov$

Anything obviously misconfigured?

https://travis-ci.org/mkn/google.sparsehash/jobs/517842961 looks all ok here with OSX 10.2 and CLANG 7

I was following https://embeddedartistry.com/blog/2017/2/20/installing-clangllvm-on-osx. After setting the path and the flags in a terminal session as recommended, I can run make on https://github.com/sparsehash/sparsehash-c11 without errors.
Not sure what to do next to compile sparsehash itself.

did you try "./configure" after setting the flags/etc?

Compiling after setting the environment as described https://embeddedartistry.com/blog/2017/2/20/installing-clangllvm-on-osx worked! So, after running make for https://github.com/sparsehash/sparsehash-c11, I could ./configure, make and make install for https://github.com/sparsehash/sparsehash.
As of the bigger picture, ea-utils partially compiled with these setting. Most of the tools can now be run as binaries. One error ('samtools/sam.h' file not found with  include; use "quotes" instead), but that is a different story and issue.
Thank you, @Dekken, for quick help with this.


Write on MQTT topic evcc/site/residualPower has no effect

Describe the bug
I am trying to change the value of residualPower dynamically via the MQTT API (to discharge the house battery storage in the morning). The API documentation under https://docs.evcc.io/docs/reference/api/ says:
evcc/site/residualPower: grid residual power (writable)
So changing the value through the mqtt API should be possible. Unfortunately publishing values to this topics has no effect to evcc as you can verify by using the REST-Api /api/state?jq=.residualPower which still delivers the old unchanged value.
As changing residualPower is possible through the REST-API it should also be possible through the MQTT API.
Steps to reproduce

set topic evcc/site/residualPower to -5000 by using MQTT Explorer
check http://openhab:7070/api/state?jq=.residualPower in your browser
should return -5000 but returns 100 in my case
...

Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: xxx

interval: 10s # control cycle interval

sponsortoken: xxx
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: sungrow-hybrid
  id: 1
  host: <IP_ADDRESS>
  port: 502
  usage: grid
  modbus: tcpip
  name: grid-sh10
- type: template
  template: sungrow-hybrid
  id: 1
  host: <IP_ADDRESS>
  port: 502
  usage: pv
  modbus: tcpip
  name: pv-sh10
- type: template
  template: sungrow-hybrid
  id: 1
  host: <IP_ADDRESS>
  port: 502
  usage: battery
  modbus: tcpip
  name: battery-sh10
- type: template
  template: sungrow-inverter
  id: 1
  host: <IP_ADDRESS>
  port: 502 # Port
  usage: pv
  modbus: tcpip
  name: pv-sg8

chargers:
- type: template
  template: go-e-v3
  host: go-echarger-xxx
  name: wallbox-go-e

vehicles:
- type: template
  template: enyaq
  title: xxx
  user: xxx
  password: xxx
  vin: xxx
  capacity: 77
  name: enyaq

loadpoints:
- title: Garage
  charger: wallbox-go-e
  vehicle: enyaq
  mode: pv
  soc:
    poll:
      mode: always
      interval: 60m
    estimate: true
  phases: 0
  mincurrent: 6
  maxcurrent: 16

tariffs:
  currency: EUR # (default EUR)
  grid:
    type: fixed
    price: 0.2769 # [currency]/kWh

  feedin:
    type: fixed
    price: 0.0762 # [currency]/kWh

site:
  title: Zu Hause
  meters:
    grid: grid-sh10
    pv:
    - pv-sh10
    - pv-sg8
    battery:
    - battery-sh10

modbusproxy:
  - port: 5021
    uri: <IP_ADDRESS>:502
  - port: 5022
    uri: <IP_ADDRESS>:502

# mqtt message broker
mqtt:
  broker: localhost:1883
  topic: evcc
  clientid: evcc
  user: xxx
  password: xxx

Log details
[main  ] INFO 2024/04/04 15:04:09 evcc 0.124.10
[main  ] INFO 2024/04/04 15:04:09 using config file: /etc/evcc.yaml
[main  ] INFO 2024/04/04 15:04:09 starting ui and api at :7070
[db    ] INFO 2024/04/04 15:04:09 using sqlite database: /home/openhabian/.evcc/evcc.db
[mqtt  ] INFO 2024/04/04 15:04:09 connecting evcc at tcp://localhost:1883
[mqtt  ] DEBUG 2024/04/04 15:04:09 tcp://localhost:1883 connected
[proxy-5021] DEBUG 2024/04/04 15:04:09 modbus proxy for <IP_ADDRESS>:502 listening at :5021
[proxy-5022] DEBUG 2024/04/04 15:04:09 modbus proxy for <IP_ADDRESS>:502 listening at :5022
[lp-1  ] WARN 2024/04/04 15:04:14 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse.
Linux
Version
0.124.10

See docs. Writes MUST go to .../set.

Argh, missed that note at the end of the docs. 🤦♂ Thanks for your great work and sorry for bothering you. 👍


fix: transports is not constant

As visible in the readme, the transports variable is not a constant and can be overwritten.

cc @bennyn

Codecov Report

Merging #215 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #215   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          12     12
  Lines         255    255
  Branches       49     49
=====================================
  Hits          255    255

I just found out that this actually doesn't solve the problem. See https://github.com/Microsoft/TypeScript/issues/6751.
You can still use logdown.transports.push() though.


Codegen issue

Hey, I found some pretty not great codegen for std::visit. I mentioned this to Louis Dionne (a libc++ maintainer), and asked him if there was a reason switch case was not used for the common case (e.g. visit one variant for under ten types). You can see the differences in assembly (std, boost, switch-case) for 2 examples here: https://gcc.godbolt.org/z/Kt8ZNf.
He suggested opening an issue here, because he said that you were the expert on implementing variant :-). Someone also told me that there was an open bug report on gcc, so I wrote things up fairly neatly there in more detail: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78113. The gist of it is that the constexpr table of function pointer approach just doesn't get inlined even with brand new compilers, and you can see that even relatively easy optimization like simply optimizing out an empty visitor can't be done. Switch case can't really be doen generically, but it seems easy to generate a bit of code such that you can handle visit for a single variant for up to N types (have N equal e.g. 10). This code is actually fairly simple, and gives massive improvements in assembly for the very common case, at no runtime cost to the other cases, and just very minimal compile cost (most likely).
Let me know your thoughts!

Hey @quicknir, thanks for bringing this up! As far as I know, Abseil variant performs this optimization and it seems pretty clear that it does help. I haven't been able to make time to implement it myself, but I would love to see it implemented! We should be able to measure at least the resulting binary size within my variant benchmark framework: https://mpark.github.io/variant
Are you considering implementing this?

Yes definitely. I'll try to look at abseil code in godbolt too, just to get a sense and make sure I end up with equally good assembly. Maybe it's easier if I start with trying to do a PR here, then looking at standard libraries?

@mpark Hey, I opened a PR a while ago (https://github.com/mpark/variant/pull/52), just pinging to draw attention.


Handle cuDF and other data

Coverage decreased (-0.03%) to 80.563% when pulling 86b84c73e0a07aa4fc26eac3833f4111ef8ab45b on cudf_support into f6275e04bd71d8aad78043b370914ccb7aea11d9 on master.


MINOR: Add all topics created check streams broker bounce test (2.1)

The StreamsBrokerBounceTest.test_broker_type_bounce experienced what looked like a transient failure. After looking over this test and failure, it seems like it is vulnerable to timing error that streams will start before the kafka service creates all topics.
org.apache.kafka.streams.errors.TopologyException: Invalid topology: stream-thread [SmokeTest-44232843-7798-4a19-b0a8-56deedd866e6-StreamThread-1-consumer] Topic not found: sum
        at org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor$CopartitionedTopicsValidator.validate(StreamsPartitionAssignor.java:923)
        at org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor.ensureCopartitioning(StreamsPartitionAssignor.java:902)
        at org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor.assign(StreamsPartitionAssignor.java:468)
        at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.performAssignment(ConsumerCoordinator.java:419)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.onJoinLeader(AbstractCoordinator.java:592)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.access$1100(AbstractCoordinator.java:94)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$JoinGroupResponseHandler.handle(AbstractCoordinator.java:544)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$JoinGroupResponseHandler.handle(AbstractCoordinator.java:527)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:894)
        at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:874)

After making the changes, I kicked off a branch builder with five repeats
Note that the reason I chose five repeats is the test uses a matrix and generate eight versions of the test and each test lasts about 5 minutes. There will be mirrored PRs for 2.0, 2.2 and trunk.

@guozhangwang, @mjsax @vvcephei @ableegoldman for reviews

updated per comments and kicked off new branch builder https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2353/

Retest this please.

retest this please

LGTM. @bbejeck please feel free to merge after jenkins.

Java 8 failures unrelated
kafka.network.DynamicConnectionQuotaTest.testDynamicConnectionQuota
kafka.tools.MirrorMakerIntegrationTest.testCommaSeparatedRegex

retest this please

retest this please

Java 8 passed Java 11 timed out
17:25:51 Build timed out (after 240 minutes). Marking the build as aborted.
17:25:51 Build was aborted

retest this please

merged #6242 into 2.1


Update gems, fix warnings, pod install

Update CocoaPods + Gems
Update SwiftLint version
Fix lint errors
Fix pod_setup.sh script, move to scripts/ (should now be run from root dir)
Run pod_setup.sh

@rnystrom Oh also getting these errors:

Doesn't like indexPath.section and indexPath.item on macOS.


Add a make target, point to upjet fork

Description of your changes

Add make target to debug the executable in dlv
Point to upjet fork that contains fix for nil pointer exception when creating keys
Reference: https://github.com/crossplane/upjet/commit/67bd255fdb286b483c9ef750209cec4eff87e523

I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Run make local-deploy and make debug
Prior to the upjet change, creating a key using the generated key example resulted in an error like:

Reconciler error        {"controller": "managed/objectstorage.linode.upbound.io/v1alpha1, kind=key", "namespace": "", "name": "foo3", "reconcileID": "e25e3b74-91f7-4f9c-aa38-b4bcd6130544", "error": "panic: runtime error: invalid memory address or nil pointer dereference [recovered]"}

causing the resource to never become "Ready"

After pointing to the upjet fork, creating a key successfully becomes "Ready" and logs don't show the nil pointer dereference error anymore.

note - as of 8/12/24 the bugfix was merged to upjet so the next PR move off the fork


selecting the current day from datepicker does not sync the value with model

When you bind datepicker to a model that's initially empty, then select today's date from the calendar, that day will get rendered in the input field but does not sync with the model.

Could you please create a plunker to reproduce the error? It is working for me.

I have a similar strange error. When setting my date initially, everything works fine. See Plunker: http://plnkr.co/edit/RkByqVhCrcSCXWGXGkWo
The date of today is shown correctly in the view and in the model.
Now test this: Open the popup datepicker and click on "Clear". Then click on "Today". View is fine, the model is wrong. It shows yesterday, I assume because my timezone offset was substracted. It shows
2015-08-09T22:00:00.000Z

Closing due to no reproduction.
@nipec there are numerous open issues about that particular bug you mention, so we will be using those tickets to track progress on that issue.


Updating the notebook in parameter management

Description
instead of
%%bash
pybamm_edit_parameter lithium_ion
pybamm.edit_parameter(["lithium_ion"])
Fixes  #1697
Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.

@rtimms  Please look into this pr

Thank you for the clarification.I would like to work changing the cli
paramaters myself first.
On Sat, Mar 12, 2022, 17:16 codecov[bot] @.***> wrote:

Codecov
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
Report
Merging #1979
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
(d07192f
https://github.com/pybamm-team/PyBaMM/commit/d07192f7fd04b051a33cd7a399ef55947192f97b)
into develop
https://codecov.io/gh/pybamm-team/PyBaMM/commit/804ea24742bddd9267d0b0a2148779e9ef420b91?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
(804ea24
https://github.com/pybamm-team/PyBaMM/commit/804ea24742bddd9267d0b0a2148779e9ef420b91)
will not change coverage.
The diff coverage is n/a.
[image: Impacted file tree graph]
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
@@           Coverage Diff            @@
develop    #1979   +/-
========================================
Coverage    99.35%   99.35%
========================================
Files          346      346
Lines        18972    18972
========================================
Hits         18849    18849
Misses         123      123

Continue to review full report at Codecov
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
.
Legend - Click here to learn more
https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
Δ = absolute  (impact), ø = not affected, ? = missing data
Powered by Codecov
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team.
Last update 804ea24...d07192f
https://codecov.io/gh/pybamm-team/PyBaMM/pull/1979?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team.
Read the comment docs
https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pybamm-team
.
—
Reply to this email directly, view it on GitHub
https://github.com/pybamm-team/PyBaMM/pull/1979#issuecomment-1065868513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLS36K6D56N3J34NHIA6HTU7R7Z3ANCNFSM5QRXQI6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Saransh-cpp @tinosulzer I need to change the edit parameters portion right??

pybamm.parameters_cli:edit_parameter
pybamm.parameters_cli:add_parameter
pybamm.parameters_cli:remove_parameter

These are the primary functions that would require changes