Check Faraday v0.15

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.

Coverage remained the same at 99.0% when pulling 6f28faa4eb100e5c60cb0795a66355c039d45a20 on faraday-015 into b47be036248bbe23da12b76b0ca47dc9dbfb8227 on master.


Missing blog entries

Describe the bug
Blog post https://near.social/devhub.near/widget/app?page=blog&id=3034 is missing from https://near.social/devhub.near/widget/app?page=blog
Expected behavior
https://near.social/devhub.near/widget/app?page=blog  lists all blog posts in chronological order.

@MaksymZavershynskyi Hi Max, thanks for reporting! This is expected behavior as https://near.social/devhub.near/widget/app?page=blog only shows all blogs for developer-dao community. The blog post you reported is from devrel community.


No reference to Back to the Future

I mean, seriously.

Sorry for spamming, I hope you appreciate the reference.

 Flux is already a reference, so McFly is an implied reference. My bad.


Method for revoking an access token

It would be cool if there were a method on AccessToken for revoking by calling POST /oauth/revoke

:+1:
FYI http://tools.ietf.org/html/rfc7009

@intridea-shared is this something you would be open to a PR for? I'd find this feature helpful as well.


Rate Limiting Policy Documentation Improvements

We frequently see 429 error codes from the API with our application, despite performing some of the standard best practices around rate limiting:

Making not more than 2-3 concurrent requests for a particular user
Performing exponential backoff retry (Initial retry of 8 seconds, 5 retries)

There is some documentation of errors at https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/errors, but it doesn't correspond to what we see, which are errors with the body 429 TOO MANY REQUESTS.
Some questions I have about OneDrive API Rate limiting:

What are the limits applied to an application using the API? Are these limits based on the user/drive the request is made on behalf of, or the tenant, or the requesting IP, etc?
To what extent are SharePoint rate limiting policies applicable to one drive, e.g. https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#BKMK_Whycantyoujusttellmetheexactthrottlinglimits ? Is there a requirement to specify an app name, and what does that actually accomplish?
What are best practices for an application to avoid rate limiting?
We have observed much more extreme rate limiting between 9am and 5pm EST [1]. Is this a documented limit?
What are the different types of rate limiting errors returned by the API. e.g., which type of rate limiting does the 429 with a body of 429 TOO MANY REQUESTS indicate? How should one determine a time to retry after?

[1]

Just recently we are seeing a dramatic increase in 429s with our app, as well. The exception coming back is:
{"error":{"code":"activityLimitReached","message":"The request has been throttled","innerError":{"code":"throttledRequest"}
This appears to be limit on the API key, where the throttling is global. A test account that has had no activity will hit this error within one or two requests.
I have many of the same questions that @ANorwell posted above.
Has there been a recent change to the limits imposed at API level? Is there a way to increase those limits?

We've struggled with this as well.   Here are some some general observations.

Throttling is most likely to occur during normal business hours.   We've moved our api calls to off peak hours which has improved the situation.
The api's generally return a retry-after header when being throttled.   It is currently always 2 minutes.
Tenants can be "hard locked" which means all of your requests will be throttled.   There is no way to deduce programmatically when this occurs.
We haven't found a way to deduce programmatically when we are nearing capacity on api calls.

From a developer standpoint, the only real option we have a the moment is to just retry a lot.   It isn't ideal.

Thanks for your feedback.
UserVoice would be a great place to provide this feedback to ensure that the appropriate team(s) are getting this feedback.  For example here's a link that to the SharePoint Developer Platform UserVoice:
https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform
Look for existing suggestions and vote for them, or create a new one.

We could vote this suggestion https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/34198828-improved-api-feedback-around-throttling

Nice - that was my suggestion.

Our customers often contact our support service with theese throttling errors, so we decided to add to log some message describing what's going on and denoting that it's not our fault.
To be clear: our software uses up to 10 trials with timeout of 2 minutes (or whatever Retry-After value is), and then wirtes out the 10th error to log.
@ificator, do you have any recommendations about such messages? How would OneDrive respond to users in that case?

I also wanted to add that we have been working on a document to assist with partners and customers who are writing applications that scan through content in SharePoint Online / OneDrive for Business.  That documentation is at https://aka.ms/scanguidance.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Custom LookupEditor

I have a custom Lookup Editor that needs to use a Stored Procedure. For the Stored Procedure, I need to pass an ID. The problem is we store this ID in a session Variable which we cannot access in the LookupEditor for some reason. It comes back null. Is there a way to pass a parameter for a lookupeditor?

Lookup editors does not support parameters, nor stored procedures.


Text recognision for non english language

Hi,
I am trying to build a Japanese ocr using this plugin.
It is working for english but for Japanese I don't have the luck.
Can you please provide an example to do the same?
Thank you!

@tokyokamera The original API supports recognition only for Latin based scripts, hence I doubt it will work in Japanese. Look here for more details.

Since ML Kit only can recognize text in any Latin-based character set. We are closing this issue.

We released a new version of google_ml_kit in which we have split all the plugins in multiple plugins to avoid removing the models for API you are not using, go to our readme and start using the new plugin you need.
Start using:
https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_mlkit_text_recognition
More details here:
https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_ml_kit


Make 1/3 and 2/3 columns work dynamically.

Change hardcoded values for span-one-third and span-two-thirds to work with the dynamics of variables.less

We're no longer developing on 1.4 (master) and are working on 2.0-wip. Bootstrap 2 has an updated grid system, one that's only 12 columns and makes 1/3 and 2/3 columns much easier to work with.

Awesome. 12 cols is more appropriate anyways. Cheers.
On Thu, Dec 22, 2011 at 9:04 AM, Mark Otto <
<EMAIL_ADDRESS>
wrote:

We're no longer developing on 1.4 (master) and are working on 2.0-wip.
Bootstrap 2 has an updated grid system, one that's only 12 columns and
makes 1/3 and 2/3 columns much easier to work with.

Reply to this email directly or view it on GitHub:
https://github.com/twitter/bootstrap/pull/831#issuecomment-3240324

--
Trey


Clean up the AWS secrets manager

Hi,
I have found an issue for the AWS secrets manager seems when the service has been removed from open metadata but the secrets still remain on AWS.
More details please see the blow Threads
https://openmetadata.slack.com/archives/C02B6955S4S/p1686560318700229

moving it to the pertinent repo


Some methods should use Any instead AnyObject

I.e.
public protocol Rule {
associatedtype V
func validate(_ jsonValue: AnyObject) throws -> V
func dump(_ value: V) throws -> AnyObject
}

Please provide a rationale

Every objects to dump (except AnyObject) requires casting to AnyObject. Changing signature of Rule protocol to Any would fix such compile error

Incorporated in 2.0.0


Repeated notification when location disabled due to redundant checks

Version

Type of phone: Android / iPhone
OS Version:
Model: iPhone 11 (simulator)

Steps to reproduce
Go to Settings, turn off location

You get notification
now you pull the notification drawer and swipe on notification to get rid of it
Drawer closes and the app comes in foreground and another notification gets triggered
Go to 2.

Expected Behavior
Any event should generate notification only once in general, the way we trigger notification in our app is asynchronously checking states at every screen mount/refresh, we need to shift the logic perhaps

I will check this issue. We need detail clarification on this issue.

@eyganeshv , post questions you have about this issue here and we will do our best to address them.

This issue is seen for Android also.

@NaziyaNazir, reproducible steps same for android?

@ArchanaNair Yes, the repro steps are same.

May I know the OS version? I am unable to reproduce it on Android, verifying it on OS version 9

@ArchanaNair  OS version is Android 9.

@NaziyaNazir , I could see the issue when app goes to background and again comes to foreground, but not in the scenario which is given in reproducible step.

This is starting to sound like a low priority issue, anybody disagree?
And is it strictly a UI/UX issue, or an issue with how the location subsystem works?

@NaziyaNazir , I could see the issue when app goes to background and again comes to foreground, but not in the scenario which is given in reproducible step

@tremblerz @NaziyaNazir  included a fix for this in android in PR #764

I could not get this to reproduce on iOS or Android anymore. I believe it was fixed in #749

Yes the issue is fixed in android also.


Add "Clean up" CRON Jobs to Perf

Use Test as a guide

Currently blocked by 6373.

These are the jobs currently running in test:

I enabled the first two jobs in PERF.  The last two jobs pertain to automatically re-opening submission windows and logical replication which are not necessary in perf.

@IkeC-dpc now that the user_session_maintenance job is enabled configurations will be automatically checked back after 20 minutes of inactivity provided an evaluation or submission is not underway.


Add historized data for VS

https://www.vs.ch/documents/6756452/7008787/Sit Epid - État Stand 25.03.2020.pdf

Can do, but can you have a look at #167?

@ andreasamsler  Now included in #180

I will look into #180 tomorrow. Thx a lot @zukunft. Feel free to go for #179 already :)

Done! Thanks @zukunft :)


log same events in rete v2

fix toggle minigraph log event
add logging of connection and node creation and removal

@bacalj this is the 3rd PR that I thought you could review. However it has a failing jest test, so I need fix that first. I'll add you as a reviewer when the tests are all set. Since this is just logging changes, it isn't user visible so it is OK if it takes longer to get this merged.

Alright this is ready for review now. The jest test failure was a random network issue.


[HOLD for payment 2023-04-10] [HOLD for payment 2023-04-07] Payment - Crash when clicking on Bank Account in the Payment tab

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App
Login with any account
Go to Settings -> Payment -> Abb payment method -> Bank account

Expected Result:
NO crash when clicking on Bank Account in the Payment tab
Actual Result:
Crash when clicking on Bank Account in the Payment tab
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: NO
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/228920881-82d3ddfc-8f48-4eb0-9249-a32a199cdf58.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Triggered auto assignment to @francoisl (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I think https://github.com/Expensify/App/pull/16323 caused this regression

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.92-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/16778

If no regressions arise, payment will be issued on 2023-04-07. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

Removing the deploy blocker label since this has been fixed

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.93-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/16778

If no regressions arise, payment will be issued on 2023-04-10. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

@francoisl Whoops! This issue is 2 days overdue. Let's get this updated quick!

This was a fix for a deploy blocker. The PR that caused the issue has already been commented on, all done here.


Load a component from external server/CDN

🚀 Feature Proposal
Perhaps, there have been questions from many SO threads about the ability to load and render React component from external host/servers
https://stackoverflow.com/a/44452714/5828821 (not sure as per faceyspacey suggested, how implementation willl be with their repo https://github.com/faceyspacey/universal-demo)
https://github.com/smooth-code/loadable-components/issues/138
Motivation
The point is that, we encounter use cases, where we need to allow Library users to be able to specify a JSON schema including many key fields whose value contain the path to a component.
We use proxy but that simply is not enough to solve problem importing over wire.
Also, we try not to use eval(), dangerouslyInnerHTML and other dirty hacks to load and render the script. Babel loader is also another pain to get it resolved.
Any chance this library supports ? or interact with other library to achieve ? Thanks in advance.

Is this different from https://github.com/smooth-code/loadable-components/issues/138?

I close it, it will not happen any time soon.


[BUG] - Array orientation for 2d position with a single datapoint

If both following conditions are satisfied:

there is only one 2d position data point in row orientation (position.shape == (2, 1))
the orientation is not specified as an input to spiketools.spatial.utils.get_position_xy

There is an error when spiketools.spatial.utils.get_position_xy tries to imply the orientation.
This happens because check_array_orientation(arr) returns 'column' when it should return 'row'.
This is due to the condition position.shape[-2] > position.shape[-1] in check_array_orientation(arr), which yields 'column' as an output. This output is usually correct, but for the case of position.shape == (2, 1), it is not.
I assume this happens with all other functions that imply the orientation if the position input has position.shape == (2, 1), but I have not checked.

This is now addressed in #186 - I'm going to close this here to move any further discussion there.


Restrict library versions to be visible only when using specific compilers

Is your feature request related to a problem? Please describe.
I'm setting up a local compiler explorer instance for my company. We have several product versions, each of which ships with a compiler capable of targetting several architectures, and each of those architectures has their own set of static libraries available to them.
I am trying to create a workflow where a user can select compilers targetting different architectures from the compiler dropdown menu, and depending on which architecture their compiler is specified as targetting, different static library paths will be chosen for libraries they choose to add. My rationale for this is that it would be helpful to have an accurate representation of what the generated code looks like when compiling with the "Compile to Binary" option enabled, without making the user have to select their target architecture more than once.
Describe the solution you'd like
In a perfect world I'd like to have a configuration option exposed to limit the libraries available for a given compiler to a subset of the libraries defined under libs.
For instance, if a library widget existed with library versions trunk-x86_64 and trunk-aarch64 defined, a compiler gcc_x86_64 could be restricted to only have the x86_64 version of the library visible through compiler.gcc_x86_64.libs=widget.trunk-x86_64.
Describe alternatives you've considered
Issue #1590 mentions that "we already [have] libraries per compiler", and it seems like some mechanism is in place to allow external compiler explorer instances to integrate their own compilers with unique library versions together (as seems to be the case with godbolt.ms from godbolt.org), but using a model like that in this case seems like it would lead to a full compiler explorer instance running per product version, per architecture, which in our case could mean hundreds of servers running. That seems very inefficient way to filter a list of file path strings. I admit that I haven't been able to figure out how that integration works yet by looking at the code, so I might be missing some straightforward solution to this.
One solution that comes to mind is making library versions for all architectures visible in the library version selection list, and relying on the user to choose the right library for their architecture of choice. This seems error-prone, since for every library a user might want to include, they would have to select the right choice from a (potentially quite long) list of similar-looking architectures, and possibly silently causing the wrong behaviour if they choose the wrong one.
Another solution I've considered is bumping up the level of abstraction, giving each product version its own compiler explorer instance and making each language in the instance qualified by the architecture its compilers will be targetting, which would allow the desired behaviour to exist (since libraries can be defined per-language). it might work t, but it doesn't seem like a good idea, since it's using compiler explorer features in ways that aren't really related to how they're supposed to work, and in this case it would make the compiler selection dropdown basically useless since there would only ever be one item available.
Additional context
If anyone has any suggestions about existing ways to solve this problem, I'm more than happy to hear them. I might be totally missing something in the CE codebase that supports this use case!

Interestingly enough we're actually working on supporting multiple architectures https://github.com/mattgodbolt/compiler-explorer/pull/1945 , but that's a little more complicated than your suggestion, I think.
I've definitely thought about having libraries per compiler, and with the PR you mentioned that was merged in mostly to support the MS compilers. But there's currently no mechanism to setup a library only for specific compilers.
For Tools we have an exclusion model, so whatever compiler tested incompatible with a tool we would say for example; tools.x86to6502.exclude=avr:rv32:arm:aarch:mips:msp:ppc:cl19:cl_new:djggp:riscv:wasm:frc2019:raspbian:arduino
But that's probably the opposite of what's useful.
So I'm thinking maybe a .compilers= property for libraries, that if it's not defined, it applies to all compilers, and if mentioned, it will load only for the compilers mentioned?

Now that I'm thinking about it, specifying the supported libraries on the compiler is probably a bad idea - as it would keep you from being able to say that none of the selected libraries are supported. I think.

Hi, so as you can see the changes have been merged into master. It's however not documented yet, but the implementation is mostly as you have suggested.
The property is called supportsLibraries and can be added to a compiler group or the compiler itself. It can all the library versions by just naming the library id, or you can do libid.versionid for a specific version.
The mentioned libraries can be separated with a :


Update version to 1.0.82-10 on staging

Update version to 1.0.82-10

🚀 Deployed to staging         in version: 1.0.82-10🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.0.83-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Remove thread-local specifier, to avoid duplicate UUIDs, if used in multiple threads

Remove the thread-local specifier for last_uuid_time, to avoid duplicate UUIDs, if used in multiple threads.

I dont know whether we should just remove that last_uuid_time logic completely.
I shared some thoughts in https://github.com/r-lyeh-archived/sole/pull/28
In any case I'm merging this and if it becomes a problem, it would be just better to remove that completely :D
Thanks for the PR!

I think the last_uuid_time logic should stay, to avoid duplicate UUIDs, if you call uuid1() or uuid0() several times on the same 100 ns tick.


In some cases, errors are not processed by CosmosResponseProcessor

Describe the bug
As found in the PR: https://github.com/microsoft/fhir-server/pull/1367#discussion_r511029941
Sometimes errors do not pass through CosmosResponseProcessor, the example of this was an invalid continuation token.
FHIR Version?
Stu3/R4/R5
Data provider?
CosmosDB
To Reproduce
Steps to reproduce the behavior:

Post in a bad continuation token, ?ct=blah

Expected behavior
Exception is handled in https://github.com/microsoft/fhir-server/blob/master/src/Microsoft.Health.Fhir.CosmosDb/Features/Storage/CosmosResponseProcessor.cs#L45
Actual behavior
Exception is bubbled up through CosmosFhirDataStore https://github.com/microsoft/fhir-server/pull/1367/files/90943313c45bf414d231d6be692f8e702e0fe4dc#diff-f61db2cb87b2bd1614148938d7c8abcfb0ec67aa5680e932aba0a0d1fd7bc340

I worry this means that session consistency and request charge headers are not being set for searches.

AB#77725

AB#77725


update copyright to 2016

Can you make this use Date so it's always correct?

Done,
I did a new PR to avoid the merge commit
https://github.com/facebook/react-native/pull/5847


Update user guide

This change is

Coverage remained the same at 85.714% when pulling 93efc61600abc18ee87b8cd5dd6aef677e4adeea on updateUserGuide into ef1c71b510c0e9e9151fa40784f0e84be53e4d12 on master.


save commonly used commands like bookmarks

need a way to use commonly used commands as bookmarks or notes so we can quickly select and run on the terminal

As of preview 1.3, you can do this with the "Send input" action.


Solve Time_delta  in python

Time delta solution in python without any libraries
Variable description :-
n - No.of test cases
t1 ,t2 - Stores the data about Time 1 & 2
Calc function(used to calc delta in t1,t2 . Returns delta in seconds) :- d - difference in days along with months
y - differencce in years
hourd - delta in hours
mind - minutes differencce
secd - Difference in seconds
f_sec - final delta of both time's in seconds.
days_in_month function :- Returns days difference if both the months are different month_int function :- Returns Month number based on its string (used in days_in_month func)
Based on  #5

LGTM , Thank you for the contribution


Solar Tracking Firmware Proposal

Solar Tracking with the DIYson
Please see solarcycle.py in the latest commit at the bottom for the main Algorithm.
The aim with this algorithm is to provide the capability of changing CCT (Colour temperature)  and intensity based on the sun's movement throughout the day. it also includes the age multiplier function that varies the light intensity based on age, replicating the feature from Dyson. Although the DIYson currently does not have a tuneable CCT LED, I hope this algorithm can spark a discussion about the addition of smarter features that Dyson offers, e.g., motion sensing and object distance sensing with a ToF sensor.
How the algorithm works
Based on Dyson's advertised features, I have tried to replicate some of them in this algorithm. Currently, there are no APIs or publicly accessible data, nor are there any equations that can estimate the approximate CCT of the sun at a given location and time. Instead, I have gone through the mathematical route. Hopefully this explanation will demystify my completely unreadable code.
CCT Calculations
I have used a quadratic formula to estimate the Colour temperature of the sun, in  the form: y = ax + bx + c, Where y = CCT and x = local time. The crucial element of this equation is the use of sunset and sunrise times. When the sun rises and sets, the CCT is often at its lowest point, usually around 2000K, while noon is around 5000–6500K. We can construct this equation so that the parabola intersects 2000 in the y and the sunrise/sunset time in the x. A parabola (quadratic graph) looks something like this:

As the sunset and sunrise times change during the year, the module "Suntime" is used so that the parabola is constantly changing throughout the year. In the UK, the parabola would be at its widest in the summer, and in the winter, it would be at its narrowest To facilitate this, another equation is used to calculate the equation, as seen below:

Where:

f(x) = Sun's CCT

x = local time

a1, b1 = (Sunrise Time, Sunrise CCT)

a2, b2 = (Noon, Noon CCT)

a3, b3 = (Sunset Time, Sunset CCT)

And finally, this is returned as a percentage of the minimum and maximum CCT that the LED can replicate.
Solar Insolation (Intensity)
Compared to the CCT replication algorithm, there are many equations used to calculate the intensity of the sun given the location and time in the public domain. I will not cover most of this, as I am not a certified astrophysicist, nor could I verify that this equation is accurate based on the supplied readings. However I will briefly go through it.
The algorithm takes into account the Solar Constant (1364 W/m^2), the relative sun-earth distance (1.1), and the atmospheric turbidity factor (0.6). It also takes in the latitude and longitude of the user. The intensity is then returned as a percentage and can be used in conjunction with the age multiplier function.
Final Thoughts
Along with these features, values are always checked for violations of LED specs and user settings before being returned. As this algorithm is contained in a class, it can be imported or integrated into existing scripts fairly easily. This fork currently does not contain DIYson Express files or 3D parts for simplicity.

Wow, this is really cool, great work on this and thanks for the contribution! I really like the considerations you've made for user preferences. Really nice.
I'm a little unsure about where to put this right now. As you noted, the DIYson doesn't support variable color temperature (yet), and I have been toying with the idea of adding a light sensor/spectrometer in the future to do some of the things you've achieved here.
Again, great stuff. I really appreciate the effort you've put in. I hope we can find a way to integrate this one we have proper variable color temperature support.

There is a secondary python algorithm that actually compliments this that focuses on the hardware Wi-Fi integration but it is not in a state to be released. I have thought about integrating a Time of Flight sensor, along with an Ambient Light sensor which could replicate most of the advertised features from dyson. a ToF sensor could sense distance from objects (eg, a book as seen in the video) and it could dynamically change the intensity. although I haven't researched spectrometers myself, I would imagine it to be a great addition, but might add extra complexity or cost. for reference, breakout boards for them cost around £30 GBP (36 USD)
As Hardware choices go, I opted for the VL53L1X ToF sensor for its great feature set, its i2c compatibility and python support by Pimoroni. i2c support would be great, as it is platform independent, whether you prefer Arduino systems or more powerful microprocessors like the Pico. an LTR-559 was chosen for the ambient light sensor for the same reason.
To implement hardware like this, I would allow users to control this, where they could select what sensors to use in adjusting the LED (eg. prioritise ambient light sensor to adjust intensity over distance sensors or the age multiplier) An Auto mode could be used (just like their purifiers), where all data is fed into an algorithm to be processed, then CCT and brightness can be returned based on the environmental conditions.
I would certainly be up for the challenge, but until the basics of the electronics are complete, you might want to put this on the backburner. PS, headers for 3V3, VCC, GND and i2c buses might be a welcome addition to the pcb, as you could create a daughter board to house all the sensors later down the line

Hey @Joseph0M. Just wanted to fill you in since you've put so much work into this and I've been pretty much silent. I've been traveling for most of May without a computer, bit I'll be back in a week or two to admire your work properly :)

well, enjoy your trip!


Changed link for title-casing resource

I updated the title-case link to go to http://titlecapitalization.com. Contributors only need to enter the title and it will automatically be title-cased. I use this resource in some of my repos' for contributors and think it will be much more simpler than the previous resource.

Agreed. Much better.


Unknown signOnMode. OKTA-369792

@serhiibuniak-okta the mapping of unknown/undocumented AppSignonModes to "Custom" here needs to be revisited. We should map such cases to "generic application" type instead. cc: @bretterer

@arvindkrishnakumar-okta could you please, clarify few items here?
"generic application" in this case - signOnMode? Because in the end it returns basic Application model, which is, I believe, exactly "generic application": first it searches for signOnMode, so we need to map it to something (I called it "custom", but we can call it with any other name if it fits better); then it chooses application model based on signOnMode and it returns basic model in case of no match.


Enforce strict error handling and early aborts

This fixes a number of crashes that currently happen when either the
origin Prometheus cannot be reached or when a user request is faulty.
It also explicitly hard-errors to the user whenever a partial error
happens somewhere in Trickster (due to unreachable origin, faulty JSON
marshaling, or else). There were many cases where an error was logged,
but not handled, causing undefined/crashy behavior. These errors are now
handled and cause the entire request to fail. This seems better than
returning wrong results or crashing.
I also added tests for the obvious crash cases and check whether they
are now returning a user-exposed HTTP error status code instead.
A TODO for the future would be to clean up the metrics handling, since
it currently happens before or after an error return, and errors aren't
properly tracked in the metrics.
Fixes https://github.com/Comcast/trickster/issues/49

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

FYI, this is now live on monitor.gitlab.net.

Could someone retrigger the Travis build? It failed on a transient error:
package gopkg.in/natefinch/lumberjack.v2: unrecognized import path "gopkg.in/natefinch/lumberjack.v2" (https fetch: Get https://gopkg.in/natefinch/lumberjack.v2?go-get=1: unexpected EOF)
make: *** [deps] Error 1

It looks like something strange happens occasionally:

The cache has no data for the tail of the query, but it's front-filling normally.

@SuperQ Do you have a direct indication that this was caused by this PR? Just reading my changes again I'm not sure how that could happen as a result of them, but who knows.

@SuperQ

I have no idea. I would have to figure out what queries cause what cache objects to be created and see what's in the logs. If I can come up with a more reproducible test, I'll let you know.

Maybe if you're not using the in-memory cache, but the FS one, you could switch back to the master branch version once you see this problem again and see if it persists with that.

For sure, this change seems to be much more stable.

Great!


View stays black after moving onto second output

When there are 2 outputs, and you open a program (xterm in my case) on the first, then move it to the second output (move container to workspace 2) the view is black until you give it focus (e.g. hover with the mouse).

should be fixed now.

It is. Thanks.


Server hangs after upgrading to Debian 11

I don't mean to (ab)use you as technical support, but I wanted to let you know of an issue I am seeing which might - or might not - be interesting for you and be related to these integration pieces.
Our production VM has been running very well for many months with your Debian 10 image.
I have probably been hasty and I have upgraded it to Debian 11..... because, since the upgrade, I am seeing the machine hang frequently (once a day or every other day).
I have also updated all the google cloud specific packages to the bullseye versions which I see already exist at https://packages.cloud.google.com/apt/dists
In serial console, a lot of messages like the ones I report below - they all seem to have to do with disk write performance but the hangs tend to happen overnight, at times when the machine should be really quiet and there isn't much traffic from our users, if any... but we run some backups and snapshots so there is that kind of disk activity.
Is this something you have already seen happening?
Thanks in advance,
Daniele Muscetta
CTO @ UAM.TV
[34315.120624] INFO: task jbd2/sda1-8:161 blocked for more than 120 seconds.
[34315.127680]       Not tainted 5.10.0-8-cloud-amd64 #1 Debian 5.10.46-4
[34315.134361] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[34315.142345] task:jbd2/sda1-8     state:D stack:    0 pid:  161 ppid:     2 flags:0x00004000
[34315.151697] Call Trace:
[34315.154331]  __schedule+0x282/0x870
Aug 26 00:03:33 [34315.158202]  ? wbt_rqw_done+0xe0/0xe0
[34315.163373]  schedule+0x46/0xb0
uam-tv-1 kernel:[34315.166784]  io_schedule+0x42/0x70
[34315.171934]  rq_qos_wait+0x106/0x170
[34315.175916]  ? efi_partition+0x820/0x820
[34315.120624] [34315.180090]  ? wbt_cleanup_cb+0x20/0x20
[34315.185551]  wbt_wait+0x9f/0x130
INFO: task jbd2/[34315.188943]  __rq_qos_throttle+0x23/0x30
[34315.194358]  blk_mq_submit_bio+0x124/0x520
sda1-8:161 block[34315.198883]  submit_bio_noacct+0x3a9/0x420
[34315.204478]  ? bio_add_page+0x62/0x90
[34315.208277]  submit_bh_wbc+0x16a/0x190
ed for more than[34315.212349]  jbd2_journal_commit_transaction+0x60a/0x1ad0
120 seconds.
A[34315.219259]  kjournald2+0xab/0x270
[34315.224249]  ? add_wait_queue_exclusive+0x70/0x70
[34315.229080]  ? load_superblock.part.0+0xb0/0xb0
ug 26 00:03:33 u[34315.233732]  kthread+0x11b/0x140
[34315.238805]  ? __kthread_bind_mask+0x60/0x60
[34315.243209]  ret_from_fork+0x22/0x30
am-tv-1 kernel: [34315.247034] INFO: task journal-offline:11639 blocked for more than 120 seconds.
[34315.255941]       Not tainted 5.10.0-8-cloud-amd64 #1 Debian 5.10.46-4
[34315.127680]  [34315.262828] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Not tainted[34315.272273] task:journal-offline state:D stack:    0 pid:11639 ppid:     1 flags:0x00000324
[34315.282412] Call Trace:
5.10.0-8-cloud-[34315.284987]  __schedule+0x282/0x870
[34315.290073]  ? wbt_rqw_done+0xe0/0xe0
amd64 #1 Debian [34315.293859]  schedule+0x46/0xb0
[34315.298503]  io_schedule+0x42/0x70
[34315.302268]  rq_qos_wait+0x106/0x170
[34315.306165]  ? efi_partition+0x820/0x820
5.10.46-4
Aug 2[34315.310313]  ? wbt_cleanup_cb+0x20/0x20
[34315.315958]  wbt_wait+0x9f/0x130
6 00:03:33 uam-t[34315.319315]  _rq_qos_throttle+0x23/0x30
v-1 kernel: [343[34315.324749]  blk_mq_submit_bio+0x124/0x520
[34315.330527]  submit_bio_noacct+0x3a9/0x420
[34315.334758]  ext4_bio_write_page+0x30c/0x580
15.134361] "echo[34315.339371]  mpage_submit_page+0x4b/0x80
[34315.344789]  mpage_process_page_bufs+0x112/0x120
0 > /proc/sys/k[34315.349543]  mpage_prepare_extent_to_map+0x1c4/0x290
[34315.356022]  ext4_writepages+0x210/0xfc0
ernel/hung_task[34315.360091]  do_writepages+0x34/0xc0
[34315.365208]  __filemap_fdatawrite_range+0xc5/0x100
timeout_secs" di[34315.370138]  file_write_and_wait_range+0x61/0xb0
sables this mess[34315.376555]  ext4_sync_file+0x73/0x350
[34315.381813]  __x64_sys_fsync+0x34/0x60
age.
Aug 26 00:[34315.385782]  do_syscall_64+0x33/0x40
[34315.390957]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
03:33 uam-tv-1 k[34315.396272] RIP: 0033:0x7fe02d60aabb
[34315.401362] RSP: 002b:00007fe02b05ccf0 EFLAGS: 00000293 ORIG_RAX:<PHONE_NUMBER>00004a
ernel: [34315.14[34315.409182] RAX: ffffffffffffffda RBX: 00005653d03d4160 RCX: 00007fe02d60aabb
[34315.418048] RDX: 00007fe02d93b414 RSI: 00007fe02d93b414 RDI:<PHONE_NUMBER>000014
[34315.425410] RBP: 00007fe02d93dd30 R08:<PHONE_NUMBER>000000 R09: 00007fe02b05d700
2345] task:jbd2/[34315.433286] R10:<PHONE_NUMBER>000014 R11:<PHONE_NUMBER>000293 R12:<PHONE_NUMBER>000002
[34315.442268] R13: 00007ffe1d8fabaf R14: 00007fe02b05ce00 R15: 00005653d03fe4d0
sda1-8     state[34315.449718] INFO: task f2b/f.sshd:773 blocked for more than 121 seconds.
[34315.457779]       Not tainted 5.10.0-8-cloud-amd64 #1 Debian 5.10.46-4
:D stack:    0 p[34315.464512] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[34315.473851] task:f2b/f.sshd      state:D stack:    0 pid:  773 ppid:     1 flags:0x00000000
id:  161 ppid:  [34315.482521] Call Trace:
[34315.486480]  __schedule+0x282/0x870
2 flags:0x000[34315.490177]  schedule+0x46/0xb0
[34315.494827]  io_schedule+0x42/0x70
[34315.498377]  wait_on_page_bit_common+0x116/0x3b0
[34315.503231]  ? kmem_cache_free+0x103/0x410
04000
Aug 26 00[34315.507462]  ? trace_event_raw_event_file_check_and_advance_wb_err+0xf0/0xf0
[34315.516016]  pagecache_get_page+0x2a9/0x380
[34315.520493]  grab_cache_page_write_begin+0x1d/0x40
:03:33 uam-tv-1 [34315.525409]  ext4_da_write_begin+0xd1/0x450
[34315.531271]  generic_perform_write+0xbf/0x1c0
[34315.535840]  ? file_update_time+0x62/0x140
[34315.540062]  ext4_buffered_write_iter+0xa7/0x160
kernel: [34315.1[34315.544890]  new_sync_write+0x11c/0x1b0
[34315.550408]  vfs_write+0x1c2/0x260
51697] Call Trac[34315.553969]  __x64_sys_pwrite64+0x8d/0xc0
[34315.559500]  do_syscall_64+0x33/0x40
e:
Aug 26 00:03[34315.563299]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[34315.569870] RIP: 0033:0x7f38139dd9c7
[34315.573588] RSP: 002b:00007f38110d58d0 EFLAGS: 00000293 ORIG_RAX:<PHONE_NUMBER>000012
:33 uam-tv-1 ker[34315.581393] RAX: ffffffffffffffda RBX:<PHONE_NUMBER>001000 RCX: 00007f38139dd9c7
[34315.590094] RDX:<PHONE_NUMBER>001000 RSI:<PHONE_NUMBER>1f0598 RDI:<PHONE_NUMBER>000006
nel: [34315.1543[34315.597353] RBP:<PHONE_NUMBER>1f0598 R08:<PHONE_NUMBER>000000 R09: 00007f38110d5840
[34315.606168] R10:<PHONE_NUMBER>005000 R11:<PHONE_NUMBER>000293 R12:<PHONE_NUMBER>005000
[34315.613575] R13:<PHONE_NUMBER>000006 R14:<PHONE_NUMBER>1df8f0 R15:<PHONE_NUMBER>1df910
31]  __schedule+[34315.621022] INFO: task kworker/u4:1:10410 blocked for more than 121 seconds.
0x282/0x870
Aug[34315.629572]       Not tainted 5.10.0-8-cloud-amd64 #1 Debian 5.10.46-4
[34315.637777] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
26 00:03:33 uam[34315.645956] task:kworker/u4:1    state:D stack:    0 pid:10410 ppid:     2 flags:0x00004000
-tv-1 kernel: [3[34315.655917] Workqueue: writeback wb_workfn (flush-8:0)
[34315.662562] Call Trace:
4315.158202]  ? [34315.665140]  __schedule+0x282/0x870
wbt_rqw_done+0xe[34315.670205]  ? blk_mq_flush_plug_list+0x100/0x190
0/0xe0
Aug 26 0[34315.676419]  ? wbt_rqw_done+0xe0/0xe0
0:03:33 uam-tv-1[34315.681610]  schedule+0x46/0xb0
[34315.686348]  io_schedule+0x42/0x70
kernel: [34315.[34315.689882]  rq_qos_wait+0x106/0x170
[34315.694957]  ? efi_partition+0x820/0x820
163373]  schedul[34315.699015]  ? wbt_cleanup_cb+0x20/0x20
[34315.704449]  wbt_wait+0x9f/0x130
e+0x46/0xb0
Aug[34315.707799]  __rq_qos_throttle+0x23/0x30
26 00:03:33 uam[34315.713315]  blk_mq_submit_bio+0x124/0x520
[34315.719005]  submit_bio_noacct+0x3a9/0x420
-tv-1 kernel: [3[34315.723221]  ext4_io_submit+0x49/0x60
[34315.728390]  ext4_writepages+0x562/0xfc0
4315.166784]  io[34315.732438]  ? _cond_resched+0x16/0x40
_schedule+0x42/0[34315.737692]  ? __getblk_gfp+0x27/0x60
x70
Aug 26 00:0[34315.742959]  ? update_sd_lb_stats.constprop.0+0xfa/0x8a0
3:33 uam-tv-1 ke[34315.749791]  do_writepages+0x34/0xc0
rnel: [34315.171[34315.754876]  ? fprop_reflect_period_percpu.isra.0+0x7b/0xc0
934]  rq_qos_wai[34315.762043]  __writeback_single_inode+0x39/0x2a0
t+0x106/0x170
A[34315.768253]  writeback_sb_inodes+0x200/0x470
ug 26 00:03:33 u[34315.774032]  __writeback_inodes_wb+0x4c/0xe0
am-tv-1 kernel: [34315.779908]  wb_writeback+0x1d8/0x290
[34315.785088]  wb_workfn+0x292/0x4d0
[34315.175916]  [34315.788704]  ? check_preempt_curr+0x4f/0x60
[34315.794569]  ? ttwu_do_wakeup+0x17/0x130
? efi_partition+[34315.798705]  process_one_work+0x1b6/0x350
0x820/0x820
Aug[34315.804327]  worker_thread+0x53/0x3e0
26 00:03:33 uam[34315.809494]  ? process_one_work+0x350/0x350
[34315.815284]  kthread+0x11b/0x140
-tv-1 kernel: [3[34315.818651]  ? __kthread_bind_mask+0x60/0x60
[34315.824432]  ret_from_fork+0x22/0x30

After several days of investigations I determined that it's not necessarily related to Debian 11... there were issues on the filesystem while nightly snapshots were running.... I am not sure if it's due to the kernel but I suspect Google Cloud was having issues on a particular SAN where our disks were located, in the datacenter we use (Zurich).... taking snapshots of the disk and rehydrating that on a SSD (vs a standard disk) used to spin up a clone of the machine seems to have taken care of the issue.


How to Catch error and continue Write-RsFolderContent

Do you want to request a feature or report a bug?
both?
Bug?
What is the current behavior?
If having a bad rdl, script stops Writing even with a Catch
$ReportServerUri = "http://" + $ServerName + "/ReportServer"
try {
Write-RsFolderContent -ReportServerUri $ReportServerUri -Path $Path -RsFolder $Rsfolder -Overwrite
}
Catch {
$ErrorMessage = $_.Exception
Write-Error $ErrorMessage
}
What is the expected behavior?
Expect to log error and move on to next files
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
Windows2016 PSVersion 5.1

Running into a similar issue when setting overwrite flag for Write-RSFolderContent to false, expecting it to skip existing items.
Write-RsCatalogItem still throws saying the item already exists after which Write-RSFolderContent is forced to stop.


Player data lost caused by threads

Write at the beginning, I didn't test if it will happens with proskillapi.
It is a bug exist in original skillapi, I checked the newest code of proskillapi on GitHub, and it is same to the original one, so I believe that this bug will happens with proskillapi, too.
This happens when threads trying to read or/and write to the same file at the same time. As far as I can see, there are two threads may access the same file at same time, one from SaveTask, and one from async-scheduler when the player logs out. If this happens, the file will contains wrong contents, and failed to be read when the player try to login next time.

Huh. We've seen this bug a few times but couldn't really figure out why this was happening, especially because I was never able to reproduce it myself. If it's problems with read/write overlapping, we should be able to combat that.


No search results | Invalid Certificate

Installed through running XCode project. No search results. Tried to visit: http://raw.github.com/alcatraz/alcatraz-packages/master/packages.json and hit invalid certificate.
Also tried to run curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh and also hit invalid cert.

Could this be your ISP doing dodgy things with SSL trafic?
Where in the world are you located? I'm validating the cert fine from Paris, France.

@zelinliu any update on this?
Are you still hitting the invalid cert when installing?

Closing this out; feel free to reopen if there is new information.


What about Linux

Hi, does it work on a Linux terminal, I download it but didn't find the right command to run it. Thank you.

Hi, Yes it should work in Linux with no problems. Make sure you have the files a folders all correct. Newest Version of Python and all necessary libraries required. I only have add a bat file to make it easier to install libraries needed in Windows. When running Linux it should be the same commands.
pip install bit
pip install rich
pip install base58
pip install simplebloomfilter
pip install bitarray==1.9.2
pip install pyTelegramBotAPI
pip install httplib2
Linux needs additions install I think install these first.
sudo apt install -y python3-pip
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev


chore: Renovate should run earthly commands for newer release branches

Description of your changes
This PR updates the matchBaseBranches for postUpgradeTasks that renovate runs after updating dependencies. Earthly exists in every recent/supported branch except for release-1.16, so that is the only branch where make based commands should still be running.
These filters/comments were copied from core crossplane repo, i.e. https://github.com/crossplane/crossplane/pull/6199.
Partially addresses https://github.com/crossplane/crossplane/issues/6186, this does not address the fact that Renovate isn't allowed to run make based commands in renovate.yaml still - so Renovate PRs would still run into an issue for release-1.16.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run earthly +reviewable to ensure this PR is ready for review.
[ ] ~Added or updated unit tests.~
[ ] ~Linked a PR or a docs tracking issue to document this change.~
[ ] ~Added backport release-x.y labels to auto-backport this PR.~

Need help with this checklist? See the cheat sheet.

@phisco can you also take a look at this PR for crossplane-runtime that is similar in intent as https://github.com/crossplane/crossplane/pull/6199? Thanks! 🙇♂


Document what happens if server dies

If the server dies (or gets restarted), the find3-cli-scanner instances are fine - they will keep sending output to /dev/null, but should pick up once the server comes back on.
May be worth mentioning this in the docs?

That's a good point, I will add that.


Tool Tcam-capture... How can it save images?

There are no documentation on that tool that I can find.
Would be nice to have an example of a pipeline that can save images on a disk at some rate (and be able to turn it on/off).
It looks like tcam_capture/ImageSaver.py could do something like that... but how does it work from the GUI?
Thanks,
Pat.

tcam-capture application is subject to a major rework in the near future.


Stop treating money requests as a split when going back from the confirmation step

Details
By clearing out the transaction.participants for a request, it allows the user to select a participant again (after pressing back) and isn't treated like it's a split.
Fixed Issues
$ https://github.com/Expensify/App/issues/32912
Tests

Click big green +
Select Request Money
Enter an amount
Select a single participant
From the confirmation page, press the back button
Verify no one is selected
Select multiple participants for a split and press Add to Split
From the confirmation page, press the back button
Verify both participants are still selected

[ ] Verify that no errors appear in the JS console

Offline tests
Same as the above
QA Steps
Same as the above

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

I was unable to test here due to local env being broken with emulator

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

I'm still working on the iOS native screenshot. An xcode update seemed to appear out of nowhere and mess things up.

I was able to grab the last screenshot and add it.

@Julesssss we need to CP this one

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 1.4.11-24 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.11-25 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Add missing "confidential" function

I add a missing function for Laravel 6 & Passport.

Duplicate of #31
Closed


"Implement" the 'playing in the mirror' example (Section 5.1)

I put "implement" in quotes because we probably want to do something abstract, rather than actually implement this.
Something like this...
# Input:
#  GameWithMirror: a video game (i.e., a function which takes an actionsequence and outputs
#    an image to be displayed on screen) with the property that the images on screen show a
#    room which contains a mirror, and everything important in the game is visible in the mirror
#    at all times.
#  MirrorCropper: a function which takes one of the screenshots output by GameWithMirror,
#    and returns a cropped image containing only the mirror.
#  ----------------
#  Outputs:
#  An extended environment where the agent is shown the full screenshots of the video game,
#  and is rewarded for acting exactly as if it were instead shown only the cropped images of
#  just the mirror. (Otherwise the agent is punished.)
def PlayingInTheMirror(GameWithMirror, MirrorCropper):
  def e(T, play):
    ...

  return e

Michael said he'd like to take a crack at this

Note: I've moved the SelfInsert example to Section 5 so "Playing in the Mirror" is now 5.2, not 5.1 any more


Add options for automated host selection in cluster

Feature description
Add options to control the automated selection of host for new instances:

host-enabled: true / false (for each host)
algorithm: number / load (for cluster)
algorithm.load-period: 30 minutes

If host-enabled is false, don't auto-select that host for new instances; if true, always consider
If algorithm is number, select host with lowest number of instances (the current algorithm). If load, select the host with the lowest average load (measured by CPU utilisation) over the past load-period minutes.
Note: it's possible to elaborate this by specifying or auto-determining the cluster's limiting resource and using that instead of CPU utilisation.
Note: it's possible to elaborate this by adding requirement tags to the start / launch request which must all match the tags of the host chosen.  No tags = all enabled are eligible.
Justification / Utility:
I have an unbalanced cluster where the various hosts have different characteristics, and one is a low-powered control & ingress / egress host where no new instances should be created.  At present I have to manually specify the target host for each instance, which is un-sustainable medium term.
Required information
Ubuntu focal / 20.04
LXD 4.12
Linux 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

We've been pretty resistant on changing that algorithm or introducing options for it as we'd very very quickly find ourselves in a rabbit hole, having to deal with a whole lot of hardware behavior differently. The load average isn't a particularly great metric nor one that LXD track. We also have been using a general policy of never storing temporary state in our database so not too keen on having to change that.
What we're considering though is configuration on the cluster node allowing for specific nodes never to be auto-selected, instead those would require direct targeting. This may solve the issue for some common cases of unbalanced clusters.

Thanks.  Blocking auto-allocation on the control servers would solve half my issue with this.
The counting instances approach depends on the assumption that there are a large number of instances so the differences between instance resource consumption averages out to more-or-less equal.  My use case is different with a very unbalanced mix of instances having small number of high CPU & memory demanding instances and a small number of high disk use instances.
I'll build some resource tracking outwith LXD and create a script for container creation in place of lxc init | start which uses that info.  That would have other benefits as it would allow me to create and manage work queues.

Yeah, we suspect that in many cases more complex scheduling will often be better handled externally. Load based scheduling is one approach but I think you'll quickly want to also consider the size of the instance you're deploying, whether it needs special hardware, what other instances already exist on given nodes, ...
For now a completely external scheduler that tells you what target to select is the easiest though we have plans to start adding webhook support to LXD and a scheduling hook would certainly make sense. With that you could give LXD a URL to hit whenever a cluster node needs to be selected and LXD would call it with some context about the new instance and give a chance to that hook to override the default target.
We're looking at building up that infrastructure in LXD over the next 6 months and then slowly start adding more hooks as we find the need for them.


How to auth

It seems that there is no auth setting. How to set up Chromadb authentication

@haqian555, you are right. Auth has not been added. I am doing a larger refactor to make the client a lot more useful that will contain a proper auth. In the meantime, I will add the ability to have headers that will contain the requisite Auth headers.

@haqian555 examples of how to use Auth added in README.md - https://github.com/amikos-tech/chromadb-java-client?tab=readme-ov-file#example-auth
This functionality is now released in 0.1.5


pypi package?

Do you mind pushing a pypi release of this theme? We are using it but cannot have git URLs in packages that we push to pypi. Thus, we would love a pypi version of this theme.

The alternative would be that I fork the repo and create a pypi package myself (I would avoid name-squatting of course) but I would prefer just to pin to an officially released package. Thank you for the wonderful theme

@turian good suggestion, I would recommend to open this question on the upstream repo as this is also "just a fork"
see: https://github.com/pytorch/pytorch_sphinx_theme

Anyway, not sure why this template shall be part of any pypi requirements, mind share your repo?

@Borda I need it as a pypi package because I want to include this package in my setup.py
https://github.com/torchsynth/torchsynth

I need it as a pypi package because I want to include this package in my setup.py

I see it is just for convenience, but in fact, it does not affect any of your functionality, as you can keep the HTTP simply here
https://github.com/torchsynth/torchsynth/blob/main/docs/requirements.txt as
-r ../requirements.txt
https://github.com/PyTorchLightning/lightning_sphinx_theme/tarball/master#egg=pt-lightning-sphinx-theme
sphinxcontrib-napoleon
sphinx-autodoc-typehints
sphinx_rtd_theme
myst-parser

@Borda No, I think the current system is best. Having it as a package would also mean that we would have to release new versions every time we make a change, would be a bit annoying haha


[MM-48745] Sync Existing Drafts

Summary

Migrates legacy channel drafts to the new draft type and reconciles them with any existing server drafts.
Ticket Link

https://mattermost.atlassian.net/browse/MM-48745

Release Note

NONE

@michelengelen @koox00 Please help prioritize this PR review.

@michelengelen @koox00 @hmhealey Please help prioritize this PR review.

E2E tests not automatically triggered, because the PR is not in a mergeable state. Please update the branch with the base branch and resolve outstanding conflicts.

FYI, I've submitted https://github.com/mattermost/mattermost-server/pull/21859 to hopefully fix the failing benchmark check. It can safely be ignored for now, and you can feel free to message me if you need someone to merge the PR before my fix is in

/e2e-test MM_ENV="MM_FEATUREFLAGS_GLOBALDRAFTS=true"

Triggering E2E testing with options:
&map[MM_ENV:MM_FEATUREFLAGS_GLOBALDRAFTS=true]

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

/update-branch

Thanks @mylonsuren
Tested, looks good to merge.
Verified existing drafts were not lost after global drafts feature was enabled.
E2E report - no PR related failures.

E2E tests not automatically triggered, because the PR is not in a mergeable state. Please update the branch with the base branch and resolve outstanding conflicts.

/update-branch

@jgilliam17 Please help prioritize this PR review.

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-webapp
   4d7b557eed..5fa0c86b0f  Cloud_tests           -> upstream/Cloud_tests
 * [new branch]            MM-45615              -> upstream/MM-45615
 * [new branch]            MM-46429              -> upstream/MM-46429
   9bed7eddca..eecca23786  MM-47846              -> upstream/MM-47846
   fed6856bd9..8bd2026873  MM-47867              -> upstream/MM-47867
   99c78deacc..ee202df93e  MM-48422-reusable-global-threads -> upstream/MM-48422-reusable-global-threads
 * [new branch]            MM-48440              -> upstream/MM-48440
 * [new branch]            MM-48567_channel-intro-buttons -> upstream/MM-48567_channel-intro-buttons
 * [new branch]            MM-48567_product-tour-tips -> upstream/MM-48567_product-tour-tips
 + 9b8953e5da...d43fde6a6a MM-48895              -> upstream/MM-48895  (forced update)
 * [new branch]            MM-48963              -> upstream/MM-48963
 * [new branch]            MM-49058              -> upstream/MM-49058
   1ab1e9a46f..e8624f0ebe  bugfix/MM-45008       -> upstream/bugfix/MM-45008
 + c4ba1fba05...33cf404e9f cloud                 -> upstream/cloud  (forced update)
 * [new branch]            cloud-2022-12-15-backup -> upstream/cloud-2022-12-15-backup
   980eb02abf..05ee53194a  code-quality/MM-45507 -> upstream/code-quality/MM-45507
   e10de3c0ab..048bbe25d8  feature-wrangler      -> upstream/feature-wrangler
   861197e347..d3d32c4917  feature/compass-ui    -> upstream/feature/compass-ui
 * [new branch]            fixed_slash_command   -> upstream/fixed_slash_command
<PHONE_NUMBER>..272006a393  master                -> upstream/master
   e92a1f2acc..cbee6c93e6  persist-notifications -> upstream/persist-notifications
Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
!!! 'upstream/release-7.7' not found. The second argument should be something like upstream/release-0.21.
    (In particular, it needs to be a valid, existing remote branch that I can 'git checkout'.)

+++ Returning you to the master branch and cleaning up.


Connecting IOS Phone in Windows for to IDE for HotReload - DART Socket ERROR

flutter_08.log
Anyone have a clue about this error ?

We do not support debugging iOS devices on windows


Set content-length for clients, who don't understand chunked

For example, Android emulator can't work with Transfer-Encoding: chunked and it's very annoying to me.

Hi,
Thanks for the PR.
This is problematic for big requests that won't fit the memory.
Do you have a suggestion what to do?
Maybe we can write a RequestHandler for Android that does just that?
(Apologies for the delay)

@makhov thank you!
this is work with android devices

Is this still required?

Maybe could you just follow this discussion to handle the chunked response directly from the Android client? https://stackoverflow.com/questions/48298206/okhttp-retrofit-body-request-transfer-encoding-chunked-added


Add github activity to blog.

Publish github public activity as a page on the blog.

fixed.

oops bad close. reopening

Possible idea in mind is to expose this as an xml feed.


[11.x] Fix how nested transaction callbacks are handled

A problem we discovered while working on https://github.com/laravel/framework/pull/48705 was that if you have nested transactions and you add callbacks to them, it's possible some callbacks were mistakenly removed upon failure.
The example @fntneves shared:
DB::transaction(function () use ($thirdObject, $secondObject, $firstObject) { // Transaction 1, level 1
    DB::transaction(function () use ($firstObject) { // Transaction 2, level 2
        DB::afterCommit(fn () => $firstObject->handle()); // Callback 1 for transaction 2
    });

    DB::afterCommit(fn () => $secondObject->handle()); // Callback 2 for transaction 1

    try {
        DB::transaction(function () use ($thirdObject) { // Transaction 3, level 2
            DB::afterCommit(fn () => $thirdObject->handle()); // Callback 3 for transaction 3
            throw new \Exception(); // This should only affect callback 3, not 1, even though both share the same transaction level.
        });
    } catch (\Exception) {}
});

The problem is since we only maintain a $transactions counter that goes up (when a new transaction is added) and down (when a transaction is committed, or rolled back), it's possible to have callbacks from different transactions that are on the same level intertwined.
In that example, callback 1 would be removed as soon as transaction 3 failed, because the first and last transaction share the same levels.
I discussed a few options with Taylor, such as having each transaction hold a unique identifier (uuid or just a counter that only goes up), and he suggested splitting the transactions into "ready" transactions and "pending" transactions. This PR uses the latter. Let me know if you think this makes sense..
Also, thanks @fntneves for pointing that problem on the other PR!
P.S: I was unsure whether to target 11.x or 10.x. There are no contract changes, but behavior changes slightly. Let me know and I can change it.
Pending:

[ ] Fix existing unit tests
[ ] Add unit tests
[ ] Add more integration tests

This affects DatabaseTransactions used by tests — the tests are passing but I'll check if we need to change something since now transactions are divided in two "stages".

I couldn't figure out how to properly rebase this branch to target 10.x so I opened a new PR: https://github.com/laravel/framework/pull/48859


OpenSSL Build failure

E:\vcpkg>vcpkg install openssl openssl:x64-windows
The following packages will be built and installed:
    openssl[core]:x86-windows
    openssl[core]:x64-windows
  * openssl-windows[core]:x86-windows
  * openssl-windows[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/4: openssl-windows:x86-windows
Building package openssl-windows[core]:x86-windows...
-- Using cached E:/vcpkg/downloads/openssl-1.0.2q.tar.gz
-- Extracting source E:/vcpkg/downloads/openssl-1.0.2q.tar.gz
-- Applying patch E:/vcpkg/ports/openssl-windows/ConfigureIncludeQuotesFix.patch
-- Applying patch E:/vcpkg/ports/openssl-windows/STRINGIFYPatch.patch
-- Applying patch E:/vcpkg/ports/openssl-windows/EnableWinARM32.patch
-- Applying patch E:/vcpkg/ports/openssl-windows/EmbedSymbolsInStaticLibsZ7.patch
-- Configure x86-windows-rel
-- Configure x86-windows-rel done
-- Build x86-windows-rel
-- Build x86-windows-rel done
-- Configure x86-windows-dbg
-- Configure x86-windows-dbg done
-- Build x86-windows-dbg
-- Build x86-windows-dbg done
CMake Error at E:/vcpkg/ports/openssl-windows/portfile.cmake:148 (file):
  file RENAME failed to rename

    E:/vcpkg/packages/openssl-windows_x86-windows/bin/openssl.exe

  to

    E:/vcpkg/packages/openssl-windows_x86-windows/tools/openssl/openssl.exe

  because: File exists

Call Stack (most recent call first):
  E:/vcpkg/scripts/ports.cmake:71 (include)

Error: Building package openssl-windows:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: openssl-windows:x86-windows
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.

Same here.

Well, I met the same issue today. It turns out that the strawberry-perl installation in the downloads/tools/perl directory is broken. So I deleted the directory as well as any cache related and installed openssl again, which reinstalled strawberry-perl and solved the problem. Hope this helps.

That was it, I just deleted the entire downloads folder. Wish there had been an easier way to figure that out

I get the same problem, but in WSL Ubuntu:
Host Environment

OS: Windows 10 / WLS Ubuntu (apt updated)
Compiler:

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)

To Reproduce
Steps to reproduce the behavior:
./vcpkg install openssl
Failure logs
carlosdelfino@estudio-4:~/workspace-linux/vcpkg$ ./vcpkg install openssl
The following packages will be built and installed:
    openssl[core]:x64-linux
  * openssl-unix[core]:x64-linux
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: openssl-unix:x64-linux
Building package openssl-unix[core]:x64-linux...
-- Using cached /home/carlosdelfino/workspace-linux/vcpkg/downloads/openssl-1.0.2s.tar.gz
-- Extracting source /home/carlosdelfino/workspace-linux/vcpkg/downloads/openssl-1.0.2s.tar.gz
-- Applying patch ConfigureIncludeQuotesFix.patch
-- Applying patch STRINGIFYPatch.patch
-- Applying patch EmbedSymbolsInStaticLibsZ7.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive_ex.cmake:140 (file):
  file RENAME failed to rename

    /home/carlosdelfino/workspace-linux/vcpkg/buildtrees/openssl-unix/src/TEMP/openssl-1.0.2s

  to

    /home/carlosdelfino/workspace-linux/vcpkg/buildtrees/openssl-unix/src/1.0.2s-20837d8435

  because: Permission denied

Call Stack (most recent call first):
  ports/openssl-unix/portfile.cmake:24 (vcpkg_extract_source_archive_ex)
  scripts/ports.cmake:94 (include)

Error: Building package openssl-unix:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: openssl-unix:x64-linux
  Vcpkg version: 2019.09.12-unknownhash

Additionally, attach any relevant sections from the log files above.

Additional context
I've tried several actions, including reviewing directory access rights, removing downloaded files, verifying "Locale", verifying the installation of "perl", and many others, but none of them had any effect.


As a user I would like to run a task from the pipeline view

The problem
If I want to run a task manually, I need to open it and click the "+" button on the top right side of a task view. It is inconvenient, because the button is not clickable until the full task output loads its content. So, you have to open view and to wait when the log is loaded and only then you will be able to click the "+" button.
Suggested solution
It would be very nice to have some "restart" button with
:recycle: or :play_or_pause_button: icon on the task in pipeline view. I attached the screenshot how it looks like in the GitLabCI and my suggestion where the button should be.
Thank you.
GitLabCI:

Suggested button in ConcourseCI:

Moved to concourse/concourse#1129


Library Package pipeline node support

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


Implement cargo/non-cargo check for clippy.

this should be pretty strait forward, it basically runs clippy with the option defined in ClippyOpt, and collect output from it.

claimed


Automatically create random Reddit accounts with email @gmail.com

I think the email on 1secmail.com was marked as Spam by Reddit. So hopefully you can replace that email with the random name of the email @gmail.com

In this case, you can't verify email.


Navigation.hbs (and other partials) not loading, seeing defaults instead ( ._.)

Issue Summary
Hello!
I am currently building my new Ghost theme with a local ghost installation (4.35.0) and I have faced a very upsetting problem. I created a directory with all necessary files and a ./partials folder with navigation.hbs that was meant to override default Ghost navigation.
And no matter how I tried to include it in my default.hbs (and other files), I keep getting standard
 instead of a bunch of .
My current navigation.hbs looks like this:
{{#foreach navigation}}
 {{label}}
{{/foreach}}

Funny enough, this is a solution from a theme called wave that has everything working. Other themes that I tried and that have a custom navigation.hbs work well and display proper  tags.
I tried creating other custom partials like header.hbs (also from wave) and putting them in my code as per Official Guide. NOTHING worked. I keep getting the defaults.
Am I missing something? Should I tinker with config or…?
I would be so glad if you helped me understand what this issue can be and how to fix it :)
UPD
I tried restarting Ghost for what I think was the 20th time and oh, my navigation rendered correctly.
BUT
Shortly after that I switched themes, went back and NOTHING works again. I am trying to restart and reinstall ghost (updated to 4.36.1) now, still nothing good shows up.
Steps to Reproduce

Install Ghost locally
Create a new theme directory in content/themes alongside casper
Add basic file structure and necessary files: package.json, index.hbs, post.hbs, also default.hbs and link index.hbs to it with {{!< default}}
Create ./partials directory
Create navigation.hbs inside ./partials and write custom solution
Embed {{navigation}} in default.hbs
(Re)Start Ghost
Install new theme via Design settings
Contemplate frustration as instead of custom navigation a default one is rendered

Ghost Version
4.36.1
Node.js Version
16.13.2
How did you install Ghost?
macOS 12.2.1, installation via ghost-cli
Database type
SQLite3
Browser & OS version
Safari 15.3, Chromium 100.0.4865.0
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Go to [https://forum.ghost.org/t/trouble-getting-navigation-hbs-to-get-recognized/24656](Ghost Forum)

Check this


Fixes (for ArchLinux at least)

Hi,
thank you for the scripts. They were very helpful. Unfortunately, for some reason, they didn't work on my Arch+MATE setup. These fixes address the issues I had. I've also changed how the loop works a little bit, hopefully you're okay with it.
I don't know if the changes are distro-specific, version-specific or what. Could someone test it on other distros to see if they work properly?

Sorry, this caused the script not to work on a GNOME setup. Looking into it. Sorry for not properly testing before sending the Pull Request


Running from ITCM RAM instead of flash

I was trying to do the same thing as in the flashloader – to upload the .ELF to the Game & Watch only temporarily. So I copied the linker script from there, compiled the project and uploaded the .ELF to the G&W, however, I was greeted by a black screen and no sound. I opened an OpenOCD instance to see if the code was even running, and it seems to be stuck inside HAL_Delay(), constantly calling HAL_GetTick() (pc is 0x0000XXXX, so it is running inside ITCM!). It never seems to exit that function, so is it possible that the system timer is stuck?
As you might tell, I'm quite new to STM32 (or even bare metal ARM in general) programming, so it's possible that I'm missing something obvious. I am using drivers which were automatically downloaded by retro-go.

Well, it took my monkey brain a little too long to realize that the ISR vector table in a CPU has to be in a fixed location in memory (in this case, the flash), so of course the system timer was stuck when the interrupt which was supposed to increment the system tick counter was not firing in the first place!
The solution was to replace the HAL_Delay() function altogether with a function that sleeps using NOPs, which I stole from the flashloader.

the ISR vector table in a CPU has to be in a fixed location in memory

Well that assumption aged like milk
I've just figured out that the STM32's vector table is relocatable (d'oh!), so when i put SCB->VTOR = CD_ITCMRAM_BASE  | VECT_TAB_OFFSET; at the end of the function void SystemInit(), interrupts started working again, not needing the ugly HAL_Delay() hack!


FI-742: add reference server to site-overlay

This PR adds the reference-server and its db to inferno-site-overlay.
NOTE: To test this, you will have to pull down inferno-reference-server from this PR: https://github.com/inferno-community/inferno-reference-server/pull/4, build that branch with docker build -t infernocommunity/inferno-reference-server:latest ., prior to running docker-compose up --force-recreate in this branch.
ALSO: Be sure to use your local machine's IP, rather than localhost, during testing, so that the different applications can speak with one another.
Pull requests into inferno-site-overlay require the following items to be completed. Submitter and reviewer
should check the relevant check boxes when the associated item is done. For items that are not
applicable, note it's not applicable ("N/A") and check the box. For example, external Pull
Requests do not require ticket links.
Submitter:

[x] This pull request describes why these changes were made
[x] Internal ticket for this PR: https://oncprojectracking.healthit.gov/support/browse/FI-742
[x] Internal ticket links to this PR
[x] Internal ticket is properly labeled (Community/Program)
[x] Internal ticket has a justification for its Community/Program label
[x] Code diff has been reviewed for extraneous/missing code

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] You have tried to break the code

I think it would be worth updating inferno-config.yml to include the server as a preset.  It looks like its already in there (although using local host) but I don't see the popup in the UI.

Agreed. I'll add the reference server to inferno-config and community-config


ToStringDeep() isn't defined for the class 'PlatformException' with last update

Steps to Reproduce

Error thrown on Gradle task 'assembleDebug' when run using Android Studio play button.
Logs

Launching lib/main.dart on E5823 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...

Compiler message:
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'PlatformException'.
 - 'PlatformException' is from 'package:flutter/src/services/message_codec.dart' ('file:///home/alpenyeti/development/flutter/packages/flutter/lib/src/services/message_codec.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'PlatformException'.
 - 'PlatformException' is from 'package:flutter/src/services/message_codec.dart' ('file:///home/alpenyeti/development/flutter/packages/flutter/lib/src/services/message_codec.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'PlatformException'.
 - 'PlatformException' is from 'package:flutter/src/services/message_codec.dart' ('file:///home/alpenyeti/development/flutter/packages/flutter/lib/src/services/message_codec.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'PlatformException'.
 - 'PlatformException' is from 'package:flutter/src/services/message_codec.dart' ('file:///home/alpenyeti/development/flutter/packages/flutter/lib/src/services/message_codec.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'SqfliteDatabaseException'.
 - 'SqfliteDatabaseException' is from 'package:sqflite/src/exception.dart' ('file:///home/alpenyeti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.0/lib/src/exception.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'SqfliteDatabaseException'.
 - 'SqfliteDatabaseException' is from 'package:sqflite/src/exception.dart' ('file:///home/alpenyeti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.0/lib/src/exception.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'SqfliteDatabaseException'.
 - 'SqfliteDatabaseException' is from 'package:sqflite/src/exception.dart' ('file:///home/alpenyeti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.0/lib/src/exception.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'SqfliteDatabaseException'.
 - 'SqfliteDatabaseException' is from 'package:sqflite/src/exception.dart' ('file:///home/alpenyeti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.0/lib/src/exception.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
toStringDeep()
^^^^^^^^^^^^
Compiler failed on /home/alpenyeti/git/flutterapppoc/lib/main.dart
Finished with error: Gradle task assembleDebug failed with exit code 1

flutter analyze
Analyzing flutterapppoc...
No issues found! (ran in 1.9s)

flutter doctor-v
[✓] Flutter (Channel beta, v1.3.8, on Linux, locale fr_FR.UTF-8)
    • Flutter version 1.3.8 at /home/alpenyeti/development/flutter
    • Framework revision e5b1ed7a7f (il y a 4 semaines), 2019-03-06 14:23:37 -0800
    • Engine revision f4951df193
    • Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/alpenyeti/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /snap/android-studio/73/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.3)
    • Android Studio at /snap/android-studio/73/android-studio
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.32.3)
    • VS Code at /usr/share/code
    • Flutter extension version 2.24.0

i get the same errors!

i get the same errors!

It only happens with Android Studio's interface. you can still run it with flutter run. Not the best option but at least it doesn't stop you from working.

run the following command:
flutter clean
Works for me.

It also happen to me, but with different class specifically from RxDart. After rxdart package upgrade to 21, no problem.

Remove the build directory or run flutter clean.

look like a duplicate of #30267 who has more upvote

See https://github.com/dart-lang/sdk/issues/36091
Does this still happen on the Flutter master channel?

I just updated and see of these statements in the console window - super anything besides all the other instability I am seeing.(Android Studio crashing, freezing, flickering, andoidx) I also getting really annoyed because I can not concentrate on my problems and I don't know anymore what is real and what is flutter and what is the Android toolchain. The standard answer is to delete the breakpoint and run flutter clean. That is not a solution - that is a poor man's workaround without fixing the root cause. - sorry for the rant.
Can flutter not detect when a new upgrade was done and run clean on the project automatically?
I am on :
C:\Projects\obdchk>flutter doctor -v
[√] Flutter (Channel master, v1.5.3-pre.33, on Microsoft Windows [Version 10.0.17763.437], locale en-US)
• Flutter version 1.5.3-pre.33 at c:\sdks\flutter
• Framework revision eaf058d81d (4 hours ago), 2019-04-19 08:50:30 -0700
• Engine revision ca31a7c57b
• Dart version 2.3.0 (build 2.3.0-dev.0.1 cf4444b803)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\ride4\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 34.0.2
• Dart plugin version 183.5901
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] IntelliJ IDEA Community Edition (version 2017.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.3.5
• Flutter plugin version 22.2.2
• Dart plugin version 173.4700
[√] VS Code, 32-bit edition (version 1.30.1)
• VS Code at C:\Program Files (x86)\Microsoft VS Code
• Flutter extension version 2.21.1

Hi, just want to check if this is still a problem for you.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


[WIP] ENH: Add monitoring script to collect information about VMs in different states

Adds a new script for collecting information about VMs in different states with unit tests

Also you'll want to move your test file into the tests folder /MonitoringScripts/tests so the CI/CD will run them

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (1e56165) 97.93% compared to head (e529f4b) 98.45%.
Report is 42 commits behind head on master.

Files
Patch %
Lines

MonitoringTools/usr/local/bin/collect_vm_stats.py
90.47%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
+ Coverage   97.93%   98.45%   +0.51%
==========================================
  Files          50       12      -38
  Lines        1844      842    -1002
==========================================
- Hits         1806      829     -977
+ Misses         38       13      -25

Flag
Coverage Δ

rabbit_consumer
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

fixed a bug and added tests for prod.
I'm not going for full test coverage for run_server_query because this functionality is replicated with the query library.
and we will eventually move these scripts to stackstorm or get them using the query library, so we won't need to bugfix pagination problems


Jade wont give seeds after getting 5 flowers

I have got the initial bag of seeds for hardy turnips and they are grown and harvested. I give Jade 5 flowers, she takes one but I dont get any seeds.

What version of Harvest Festival are you using?

I am using harvest 5.9
I also have biomes o plenty  .2087
tough as nails .11
if that matters.
Oh and the weather isnt lining up i had snow in your spring.
best

Harvest Festivals seasons are currently not compatible with Tough as Nails.
What flower are you giving to Jade? Some flowers from other mods might not work. Try giving her 5 vanilla flowers of the same kind!

I gave her 5 yellow vanilla flowers, she took one. after that she started taking all 5 and giving seeds

That is how it is supposed to work :) The first flower is a part of the quest.


Add support for generating seed outside the portal

Description
The portal has changed the way to activate new accounts. Before, I could link the account using the polkadot browser extension, accept the terms and conditions and activate the account with a simple click. Now, it requires me to enter the mnemonics, which I did not need before. When I did that it said that the user was not found. But that is expected for new accounts that have no Existential Deposit yet, right?
The only way I could activate the account was to press generate and then see the terms and conditions. After that, it took me back to the form where I could click on the eye icon and copy the newly generated mnemonics.
IMO The form also should allow me to generate the key outside the portal (in the browser extension or a secure wallet) and then enter the mnemonics in the form to activate the account. But right now, it seems that this option is not supported and it is confusing and limiting.

Block on this https://github.com/threefoldtech/tfgrid-sdk-ts/pull/936
we need to update dashboard flow into playground one

Verified on devnet.
Activating a seed that's generated outside of the dashboard/playground is now supported.
Dashboard
Untitled_ Aug 16, 2023 11_33 AM.webm
Playground
Untitled_ Aug 16, 2023 11_31 AM.webm