How to set up a local dev environment

See issue exercism/exercism.io#2092 for an overview of operation welcome contributors.

Provide instructions on how to contribute patches to the exercism test suites
and examples: dependencies, running the tests, what gets tested on Travis-CI,
etc.
The contributing document
in the x-api repository describes how all the language tracks are put
together, as well as details about the common metadata, and high-level
information about contributing to existing problems, or adding new problems.
The README here should be language-specific, and can point to the contributing
guide for more context.
From the OpenHatch guide:

Here are common elements of setting up a development environment you’ll want your guide to address:
Preparing their computer
Make sure they’re familiar with their operating system’s tools, such as the terminal/command prompt. You can do this by linking to a tutorial and asking contributors to make sure they understand it. There are usually great tutorials already out there - OpenHatch’s command line tutorial can be found here.
If contributors need to set up a virtual environment, access a virtual machine, or download a specific development kit, give them instructions on how to do so.
List any dependencies needed to run your project, and how to install them. If there are good installation guides for those dependencies, link to them.
Downloading the source
Give detailed instructions on how to download the source of the project, including common missteps or obstacles.
How to view/test changes
Give instructions on how to view and test the changes they’ve made. This may vary depending on what they’ve changed, but do your best to cover common changes. This can be as simple as viewing an html document in a browser, but may be more complicated.
Installation will often differ depending on the operating system of the contributor. You will probably need to create separate instructions in various parts of your guide for Windows, Mac and Linux users. If you only want to support development on a single operating system, make sure that is clear to users, ideally in the top-level documentation.

Just a comment:
The instructions here: http://exercism.io/languages/php/tests
suggests running the tests with phpunit, which will fail. The copy of phpunit provided in phpunit.phar succeeds. I think it is a different version than the one in apt repos on ubuntu right now.

@ZeframCochran Thanks, that's a good catch!
Do you have an opinion about what the right fix is? (Update our phpunit.phar and fix the tests? Change the instructions?)

I think updating the instructions handles it, but it would be nice to only
download the phpunit.phar once, could it be softlinked from the parent
directory?
On Fri, Dec 22, 2017 at 9:13 AM, Katrina Owen<EMAIL_ADDRESS>wrote:

@ZeframCochran https://github.com/zeframcochran Thanks, that's a good
catch!
Do you have an opinion about what the right fix is? (Update our
phpunit.phar and fix the tests? Change the instructions?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/exercism/php/issues/36#issuecomment-353639588, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEKlm_sbz1RTotwPTUDqPgCgHUFNdec5ks5tC-MygaJpZM4DERm9
.

@ZeframCochran did you see the previous page, installing PHP which tells you how to use composer to install PHPUnit globally? Did this work for you? I'm not sure what you mean by "it would be nice to only download the phpunit.phar once" - could you give more detail please? Thanks

I was able to follow the instructions in the repo README today to get a working development environment. I'm going to go ahead and close this, and if people run into specific problems, they can open an issue specifically about that.

I was also able to set up a local dev environment, but for the next exercise I had to copy the PHP unit archive again
Sent from my iPhone

On Dec 27, 2017, at 1:36 AM, Pete McFarlane<EMAIL_ADDRESS>wrote:
@ZeframCochran did you see the previous page, installing PHP which tells you how to use composer to install PHPUnit globally? Did this work for you? I'm not sure what you mean by "it would be nice to only download the phpunit.phar once" - could you give more detail please? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ZeframCochran in that case, would you please open a new issue describing what the problem is and (if you have ideas) ways it could be solved, for discussion?


Can't call new directly to create instances.

This should work, but doesn't:
int.__new__(int, 5)

I think type.__new__ gets called instead of int.__new__, given this:
>>>>> object.__new__(object)
<class 'type'>

I was pretty sure there was a problem with getattribute, but I've been waiting for a good example to fix.

This works now! I do not know what fixed it, but it works :)

Uh... no, I'm wrong. That's only during type creation, not object creation.
The correct implementation of type.getattribute fixes this. (And we don't even need another special case.)

In theory directly calling __new__ in Python should never be done to avoid weird side-effects. The constructor to override is always __init__.

@cthulahoops this issue can now be closed, right?

Yes, I think this is all fixed now.


Revert setting selfDiagnosis level to DEBUG on AppInsights in dev

@pezholio @richpjames Do we remember why this was reverted? Currently looking at options for getting more insight into performance.

@tahb I think Joe put it in to increase logging temporarily and then reverted once he had what he needed


chore: Add release build creator

This adds a creator to automatically produce a release build

Verified that this produces builds on a test release against this branch here


"Update Go" workflow should create better PRs

Describe the Enhancement
Right now when the "Update Go" workflow runs and submits a PR, the title is not very good. If the Go version changes, it'll have a reasonable title, like Bump Go from 1.17 to 1.18 but for cases where it just bumps transitive dependencies (ie. Go version doesn't change), the title is bad Bump Go from 1.18 to 1.18.
For these cases, it would be nice if the title was different like Bump go.mod transitive dependencies and then the description perhaps listed which dependencies changed. I'm not sure if there's an easy way to get this off-hand, but it would be nice to have. It would make the release notes read better.
Possible Solution
N/A
Motivation
Better release notes.

Resolved with #856


non hardcoded number of parallel jobs

Previously the number of parallel jobs was hardcoded independent of the runner. This sets it dependent on the number of available cores.

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

Project coverage is 51.60%. Comparing base (bb9bb85) to head (bd0bc37).
Report is 12 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   49.14%   51.60%   +2.45%
==========================================
  Files          15       15
  Lines         643      593      -50
==========================================
- Hits          316      306      -10
+ Misses        327      287      -40

see 13 files with indirect coverage changes
see 13 files with indirect coverage changes

@vgvassilev can you merge this PR?


delete branch and remote after pr merge.

This PR covers three major changes

PullRequestModel.head might be null so we protected that
Show an action to delete branch after a PR is merged or closed. Also render the branch deletion timeline event properly
A command to delete all legacy branches and remotes.

@RMacfarlane I think the PR can be reviewed now ;)

@RMacfarlane thanks for the feedback. I pushed changes with following major update

PullRequestModel now has isValid() to provide a slient head check and validatePullRequestModel() to do both validation and warning prompt. We use isValid only when it's okay that there is no head in a pull request.
Workspace state for deleting branch and remotes is now moved to settings.

Thanks for the wording suggestions ;)


Warnings

PTAL, this adds warnings on Linux / Mac, MSVC will be next.

Included your fix and fixed a merge conflict.

Finally CI finished! Thanks for the review for the last commit!


Rewrite app probes doesn't handle probes which have redirects

kubelet will follow redirects on probes. Its pretty odd to have a redirect, but for HTTPs redirect it may make sense.
The proper fix is for the user to change the probe to be HTTPS probably. However, we shouldn't break if they haven't set this.

not stale
On Sun, Mar 7, 2021, 9:05 PM Istio Policy Bot<EMAIL_ADDRESS>wrote:

🧭 This issue or pull request has been automatically marked as stale
because it has not had activity from an Istio team member since 2020-12-07.
It will be closed on 2021-03-22 unless an Istio team member takes action.
Please see this wiki page
https://github.com/istio/istio/wiki/Issue-and-Pull-Request-Lifecycle-Manager
for more information. Thank you for your contributions.
Created by the issue and PR lifecycle manager.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/29468#issuecomment-792464990, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXNC6JRWOOSBFQ5753LTCRLJPANCNFSM4URF7EFQ
.


Fix StaticGroundGeometryXXXBatch.remove

StaticGroundGeometryColorBatch.remove was relying on the value returned from Batch.remove to exit the for loop early, but Batch.remove wasn't returning anything
Batch.remove in StaticGroundGeometryPerMaterialBatch was returning the wrong thing

@hpinkos, thanks for the pull request! Maintainers, we have a signed CLA from @hpinkos, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

I know we don't have great unit test coverage here, but is there a Sandcastle snippet or other way to show what the bug was here and that it is indeed fixed?


CKAN stop working

hi i have a problem with CKAN will sort of start up but then i get this can any one help ?
Error in autoupdate
the request was aborted :Could not create SSL/TLS secure channel
then i click on dismiss and i get this
exception of type Ckan module not found kraken was thrown
if i click on details i get this lot can any one help please ?
System.Numerics
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Numerics.dll
System.Runtime.Serialization
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Runtime.Serialization.dll
System.Data
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Data.dll
Anonymously Hosted DynamicMethods Assembly
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_<IP_ADDRESS>__b77a5c561934e089/mscorlib.dll
Microsoft.CSharp
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.2558.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Microsoft.CSharp.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

See #2293, install https://github.com/KSP-CKAN/CKAN/releases/tag/1.24.0


Allow marshmallow_enum to be used for OpenAPI schema definitions

Passing the enum through to the super-class allows it to be used for APISpec/OpenAPI schema definitions, an important use-case for marshmallow. Given that it's the first parameter of the function, the risk that the parameter was referenced by name in a client library is fairly small. Searching through public repositories in GitHub doesn't reveal any clients where this would be problematic.
OpenAPI does not permit the values to differ between loading/dumping. The load_by and dump_by parameters are still accepted for backward compatibility, but they have been deprecated in favor of the by_value parameter.

See #24 and #25

@justanr Could you review the PR and let me know if this looks alright to you? We'd like to start using it to include enum fields in our autogenerated OpenAPI specs. Thanks!

Time to make a move on this?
If @justanr have moved on to other projects, perhaps we can adopt this under another namespace/project?

Time to make a move on this?
If @justanr have moved on to other projects, perhaps we can adopt this under another namespace/project?


While internet dropped srt receiver is not receiving input, its get disconnected [Q]

Please describe a precise analysis of your problem. A long title has never been a valid problem analysis.


Fix potential double-free

The sk variable is assigned to s->session->peer_chain.
If ssl3_digest_cached_records() were to fail, then sk would still be
non-NULL, and subsequently freed on the error return. When the session
is freed, it will then attempt to free s->session->peer_chain,
resulting in a double-free (of sk).

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

This should be cherry-picked or backported to 1.1.1 as well.

This pull request is ready to merge

Merged to master and 1.1.1 branch. Thank you for your contribution.


Added Sentry SDK

Adds the Sentry SDK packages and initialises to provide error logging in staging and production.

@YaaL :smile:


Dashboard Token Listing: USDGLO

Discord Handle of Submitter: @lanzdingz
Token Symbol: USDGLO
Network: Optimism
Token Address: 0x9F41d0AA24E599fd8D0c180Ee3C0F609dc41c622
Network Explorer Link: https://optimistic.etherscan.io/tx/0x00622c9d3203ee4f83395ecd165ec052dc1d30ebe637f12a637cfbe556f77eb9
Is a Super Token? true
Address of Underlying Token:  0x4f604735c1cf31399c6e711d5962b2b3e0225ad3
SVG Logo Link: https://drive.google.com/file/d/1mYM4RQ2Nbm5VHcH-pztlaxDT-ERsl-Uf/view?usp=sharing
Coingecko or Hardcoded Price?: Coingecko
Coingecko ID: https://www.coingecko.com/en/coins/glo-dollar
Harcoded Price (if Coingecko ID is unavailable):
Token HEX Color: #24e5df
Info on Listing: Giveth wants us to be a streaming donation option for them and we want to be used in other grant and payout streams
glodollar.org
We are a stablecoin that funds web3 public goods and IRL causes by donating 100% of our profits
We will be wrapping our token on Eth, Base, Polygon, Arbitrum and Celo, but we wanted to make sure we did it correctly with Optimism first before wrapping the token on the other chains (https://www.glodollar.org/articles/smart-contract-addresses)
Thank you
Please close only after token has been added to resolver!

listing, pending PR to /tokenlist @kasparkallas


Refresh Token grant not generated scopes assign with Previous accessToken

Description:
Refresh Token grant not generated scopes assign with Previous accessToken

Fix https://github.com/wso2/carbon-auth/pull/139


Draft USD as a gdextension proposal

USD being a gdextension is very similar the inverse of google's USDZ to USD

Postponing.


Update SN to use latest maven

currently, SN lab is using maven 3.6.0 and have the following warning
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

It is better to use 3.8.1+ because warnings not happen

Suggest to update Docker, Kubectrl, and JVM too

Issue opened on SNL Backlog here

close

issue was addressed in SN


Reopen in container does not work with changes from Nov. 22

Reopening in container throws error:
service "api" depends on undefined service node-container: invalid compose project
Reproduce steps:

Clone repo
open vscode
change to master branch if not activated by default
run F1 'Dev Conainers: Reopen in Container'
Error will be shown in terminal view

I can confirm the observation from @sbg-dev:

vscode version: 1.84.2

I can confirm the observation from @sbg-dev:

vscode version: 1.84.2

just saw the pull request, which work.

Most recent PR resolves this :) thank you


CarParams: log car control params

Starting at only logging the max allowed control torque for the upcoming lat control refactor to map the accel factor to the absolute torque. Eventual plan is to add and fill these fields out and remove the fragmented CarControllerParams classes wherever possible: https://github.com/commaai/cereal/commit/e4f04c063f16cacc1ce64b24090a98f1c8f84f20

Superseded by #26743


Server side permission checks

Depending on the object type being edited and on the role of the logged in user , one may be allowed to edit only a subset of the properties of the object.
Make sure that these permission checks are now implemented also server side (if this is not done yet).
See for instance issue #36 and #200 .

Added to epic #2191

Which are the business rules?


Support websockets 8.x as well as 7.x

Sanic currently requires websockets 7.x, but the changelog for 8.x is pretty benign from Sanic's perspective (now that Python 3.5 has been dropped). All that's missing is a declaration whether sanic has the client or server end of the websocket.
Supporting websockets 8.x is required for nixpkgs, since this defines a globally consistent set of Python packages that includes 8.x.
I've tested this with a websocket-based sanic app with websockets versions 7.0 and 8.0.2 and it works fine for me.
Thanks for Sanic by the way!

Related to #1597 and #1635. Thanks for your contribution!


Authentication

Have a client / server authentication implemented.
Split into:

read auth
write auth

e.g. allow readonly access

Also consider how to to this dynamically. E.g. request a room to be ro and then reset to rw with and without authentication


Update work details after registration

Ticket: https://dfedigital.atlassian.net/browse/CPDNPQ-1387
Context

As a user I want to review all the answers I have submitted so I can ensure they are all correct.
As a UCD team we want the registration details pages to be easy to understand and consistent with the check answers pages.

@pmanrubia some weird stuff is showing up:

@pmanrubia When the user has answered the question ‘How is your NPQ being paid for?’ - the label should display as  ‘Course funding’ instead of ‘How is your NPQ being paid for?’

@pmanrubia when a user has selected 'No' to  ‘Do you work in England' question. The answer to the question answered the question ‘How is your NPQ being paid for?’ is not showing. This should appear under 'Scholarship funding' row and have the label 'Course funding'.

@pmanrubia When the question ‘Enter your or your employer’s Ofsted URN’ is answered. The row is currently just showing the URN. But this should show the name and address of the workplace.
Current:

Should be:

@pmanrubia The label 'ITT PRovider' should have lowercase 'PR', so 'ITT provider'

@pmanrubia When the user selects the course Early headship coaching offer and is not eligible for funding, so they answer the 'How is your ECHO being paid for?' question. There are 2 rows showing. Changes to make:

The bottom row shouldn't display.
The row label 'How is your ECHO being paid for?' should be 'Course funding'

@pmanrubia When the user selects the course Early headship coaching offer. The row 'First 5 years of headship' is not displaying accurate info

When 'Headteacher' = No, the 'First 5 years of headship' row should not appear
When I select No to 'First 5 years of headship' it displayed as Yes.

@pmanrubia just tested maths NPQ. When the user chooses 'Yes' to the first maths question (Have you taken at least one year of the primary maths Teaching for Mastery programme?), it is not displaying correctly on the registration details page:

@pmanrubia The label 'ITT PRovider' should have lowercase 'PR', so 'ITT provider'

For this the P in 'provider' should also be lowercase. I've just noticed this is also incorrect on the check answers page. Could we also change that at the same time?
registration details page:

check answers page:

@pmanrubia I've retested all now

@javier-npq just one thing that is now showing up. The ITT provider is showing a string rather than the name:

@javier-npq all looks good, I'm happy for this to be merged if everyone else has checked.


one cell selected twice

Describe the bug
one cell can be part in 2 blocks.
To Reproduce
Steps to reproduce the behavior:

open homicide- table-3a
select dependent variable (C5:H7, property P1114) and main subject (A5:A7)
select cells C4:G4, submit (qualifier, time)
select cell H4, submit (qualifier, time)
resize the block C4:G4 to C4:H4 (with your mouse), submit
delete the block C4:H4 and see the block  H4 is still appears

Screenshots
step 3-

step 4 -

step 5-


How to model "a".trim()? I.e. prototypes with common names

The concern here is, a global function called trim with type function trim(s: string) might be too generic and prone to conflict, particularly for functions like array's includes.
But I'm closing this issue because for now I believe the conflict won't be too bothering for users.


Fix timeout behaviour

When the Redis queue worker is responsible for handling timeouts, the predictor process continues running after the queue worker sends the timeout message. If another job gets picked up before the queue worker is finished, it'll send back outputs from the previous job.
Moving it into the runner means the predictor itself is timed out and stops running. Expand the test case to demonstrate the issue and prevent regression.
Contains a couple of the preliminary fixes from #678, and a semi-related fix to timeout logic. Best viewed commit-by-commit with whitespace diffs turned off.

This is exactly the sort of thing it'd be nice to shim into old models. 🤔


Selector "& + &" not working on deep levels

I tried to use & + & selector and it works well on the first level
const Component = styled.div`
  & + & {
    margin-top: 10px;
  }
`;

but if I tried to use it on the one more level deeply it just do nothing
const Component = styled.div`
  section {
    // doesn't work
    & + & {
      margin-top: 10px;
    }

    // works well as `Component > section > div`
    & > div {
      padding: 5px;
    }
  }
`;

There is an example https://codesandbox.io/s/ppv4no73p7

Instead of & + &, you could use & + section which works with your example. My guess is with your example, you're selecting the adjacent "self" instead of the DOM node of that type/selector.
const Root = styled.div`
  width: 100px;
  height: 100px;
  text-align: center;

  section {
    border: 1px solid brown;

    & > div {
      margin: 5px;
      border: 1px dashed black;
    }

    & + section {
      margin-top: 10px;
    }
  }
`;

@rodocite that problem is more about "Why the second & is not interpreted as the first &?" than "My code don't work". Using & + & is the most convenient way for logic presented above.
I still confused about it because the only one & from two of them is pointer to a current element.

I did a quick investigation on jsfiddle and jsbin; the styled-component behavior mirrors both SCSS and LESS & behavior. I also skimmed the documentation for LESS and the examples are all non-nested. If you can show me an example where this actually works, then I'll take a look. However, this looks like intended behavior for SCSS, LESS, and styled-components.
Nested Examples (not working)
https://jsfiddle.net/7xkhf5an/2/ - You need to press "play" to see the changes
https://jsbin.com/homoyebihe/edit?html,css,output
Not Nested
https://jsbin.com/dexuyorojo/edit?html,css,output

@rodocite hmm. So if styled components takes behaviour from SASS/LESS then it looks logical now. Because in those tools & will compiled as a reference with a full path of selectors tree. I will think about it in the SASS-conception now. Thanks.


What happened to juttle?

I came across Juttle from Benn's substack: https://benn.substack.com/p/has-sql-gone-too-far
We're in the very early stages of building PRQL, which has some similarity with PRQL around its pipeline / dataflow design.
It looks like Juttle development stopped a few years ago — is anyone familiar with what happened? It looks quite elegant on first glance, so I'm sad to see it didn't prosper.

Hi @max-sixty, thanks for your question.  What a blast from the past!
BTW I've been tracking your work on PRQL... very nice stuff.
Regarding Juttle, I think it was all ahead of its time as we started in 2013, well before adaptor-style data processing pipelines had emerged and before SQL-based cloud warehouses took out Hadoop.
After two big successes, Jut's founder (me) was overconfident that we could build a whole new approach to dataflow with a brand new language in the timescale of a tech startup.  In hindsight, we clearly hired too fast and weren't going to get to a revenue-generating product in an acceptable time frame.  We saw the writing on the wall and shutdown well before we ran out of cash, returning capital to the investors.
After that painful experience, we were all just tired of working on Juttle.
It took me a few more years before I started to dabble again and I started a project around security infrastructure using Zeek and Suricata.  As I searched for a data format to represent Zeek's type-rich logs (without dumbing them down to JSON), I was dumbfounded that nothing satisfied our goals: you had to choose between schema-rigid formats (like Avro and Parquet) or loosey-goosey JSON.  BSON was better but still suffers from indeterminate mixed-type arrays (as there is no variant type) and the lack of a good type system (and it lacks other Zeek-inspired data types like sets).
This led us down the path of creating a new type of data that we call super-structured data realized in a new data model called Zed along with a family of formats: ZSON for JSON-like human readable text, ZNG for efficient sequence oriented data, and ZST for efficient columnar layout.
Since Zed is a superset of JSON and relational tables, JSON data and table data is suddenly on equal footing as first-class citizens all within the same storage footprint and query system.
With regard to Benn's brilliant substack article, I totally agree that SQL's not going anywhere and only getting more important.  In fact we think SQL would be a very fine query engine running on top of a Zed warehouse (in Zed, data is organized around the type system instead of tables but you can easily do projections of "virtual tables" where all the rows happen to conform to a the desired Zed record type, which looks like a table schema).
In the meantime, we're focused on "yet another" dataflow language (we just call it the Zed language) that borrows from Juttle but was specifically designed with the super-structured data model in mind.  In particular, combining keyword search with analytics is really easy in Zed.  Because Zed data preserves the shape of the original ingested data (as much or as little as you would like) and you don't shred your semi-structured data across lots of tables, search makes much more sense for Zed compared to warehouse tables.
Anyway, I'm rambling.  If you'd like to have a look at Zed the repo is here...
https://github.com/brimdata/zed
The docs are here...
https://zed.brimdata.io/docs/
And we even have a rather nice electron-based UI to browse data in a Zed lake here...
https://github.com/brimdata/brim
Maybe there could be a way to collaborate between Zed and PRQL?  At the least we should compare notes along the way...
p.s. Regarding my lessons learned from Jut, the team working on Zed is very small and we've approached this problem more like the research project that it is.  We have very much taken our time to iterate and work with our users to hopefully get it right this time around... :-)

Thanks for the thoughtful response @mccanne ! Congratulations on Zed, it looks awesome at first glance. I will have a look more and respond.
PS I hear you re "speak to users". Particularly on an open-source project, it's easy to get into the mentality of writing code that does cool stuff without thinking through whether it solves pressing problems for people...


Preparation for release 0.1.0

CC @armantorkzaban

once #130, #132  is fully implemented
with the improvements to the core #46, #128

[ ] polygon clipping functions from #170
[ ] new geotypes library
[ ] bump version number


Adding a middleware to rewrite URL of XHR requests

This is a (multiple allowed):

[] bug
[x] enhancement
[ ] feature-discussion (RFC)

I need to capture all URL (before being loaded) and rewrite them in order to fix an issue I have with cordova plugin. The issue (and possible fix) is described here:
https://github.com/nordnet/cordova-hot-code-push/issues/264#issuecomment-330997979
What's the best way for achieving the above ? Perhaps by adding a middleware for achieving the above ? If so, how ?
The format of the URLs will change from something like this file://myurl/page.html to http:// localhost:8080/application/binary/APP-ID/myurl/page.html (This is just an example, exact format is in the issue)

Well, i know what you mean, it is not possible in v1, but now possible in v2 by using beforeCreate callback:
app.request.setup({
  beforeCreate(options) {
    options.url = 'http://google.com';
  }
})

I'd love to upgrade to v2, but it seems like the process won't be with as simple previous upgrades where only F7 file replacements were necessary.
Do you intend to publish a guide for how the upgrade process can be achieved with as little steps as possible?

@nolimits4web Any chance for exposing a similar method in v1 so that I can use it for now in my application ?

Upgrading process depends on how big and complex your app. Yes, with the v2 stable release i'll update docs with upgrading guides.
As for v1, i just pushed https://github.com/framework7io/Framework7/commit/1aaa88c8b089fc9f48c2cfdea624e47513aa91fd commit that adds same beforeSend callback so you can modify passed options properties

Thanks very much.
There are now several new versions of Framework7 and it's really difficult for new comers (or those wishing to upgrade) to make the right choice. [v1.65, v2.0, v.react, v.vue].
I feel now that the increasing fragmentation will also increase the load on you since you are the main contributor and you will have very difficult time maintaining the different versions in the near future. This also makes me worried about the project future maintainability.
I also don't entirely understand the main reason for fully restructuring the app with V2, especially since it seemed only few months ago that your focus was on the vue version of F7 !!


Custom next url after login

Hi! I have a problem.. i would like to be able to redirect a user to a custom page based on the user name.
In my case i just want that after i log in with a user named samsungtv, the searchguard login redirects me in a custom kibana view i created (i have the url).  Is there a way to redirect a user based on his user name? Thank you!

Please use GitHub for reporting bugs only, for questions there's the Search Guard Google Groups forum: https://groups.google.com/forum/#!forum/search-guard
As to your question, have a look at public/apps/login_controller.js
In the response handler of the login method you have the username available, and can set a custom next url based on the user's name.

@jochenkressin ok thx! however that is what I tried.. but how to reload that file? I tried to restart nginx service and kibana, cleared sites cache but nothing changed (I tried also to modify the login error message just to see if that will change but nothing happened). Thank you!

Maybe you hit the caching issue described here: https://github.com/floragunncom/search-guard/issues/345

Yes probably, i have xpack installed too! What is the snapshot version of the kibana search guard plugin to solve also the xpack welcome screen? Should I just upgrade to that version following mat1010 advise with my modifications in login_controller.js? Thank you.

Yes, if you're running 5.4.0 or 5.4.2 then you can just use one of the snapshots referenced in floragunncom/search-guard#345. The official release will take another 2 weeks or so, since we're integrating other features and fixed as well.

Does it also work with 5.4.1 version? Thank you!

No, Kibana requires the versions to match. But you could try to simply adjust the version number in package.json. At the moment we will not prepare snapshot versions, since we're in the process of merging for the next official release. But give it a try, I think there are no fundamental differences between, say, 5.4.0 and 5.4.1

@jochenkressin Solved! Removed prior version and adapted 5.4.2 snapshot to work with my 5.4.1. Changed some code in login_controller.js to support an external url and it worked well. Thank you for help!


Consul registry performance improvements

Hi, it's me again trying to improve route update performance for our absurd number of routes. 😁
There's two major changes here:
The first is adding "filtering" so that only Consul Health Checks with the applicable Service Tag Prefix (and serf/maintenance checks) are considered during the rest of the process. In our Production environments this brings down the number of checks that Fabio has to look at from ~40k down to ~12k.
The second change is simplifying the passingServices function from an $O(n^5)$ process to $O(n^2)$. Each of the "helper" functions (countChecks isAgentCritical isNodeInMaintenance isServiceInMaintenance) did their own loop over each of the Consul Health Checks which added up in time very quickly.
Both of these changes drastically reduced the amount of time spent processing responses from Consul. In a test using real Consul data but not serving traffic we saw a reduction from around 90 seconds to less than 10 seconds. We've been testing Fabio with these changes in a non-production environment for about a week now, and have not detected any issues.

(The increase in makeConfig shown on the graph is due to how I measured it. It includes time waiting to write on the channel back to the main Fabio goroutine. This wasn't an issue before because processing the Consul data took longer than the time needed to build the actual route table (~10s) but the scales have now flipped. Building the Route Table takes longer than processing the data from Consul.)
I also had profiling running during my tests. Here's stock Fabio:

After adding the Check "filtering":

After simplifying passingServices:

I'm very interested in any feedback about these changes and will do what I can to help satisfy any concerns. Thanks!

Hi @nathanejohnson and @KTruesdellENA, just wanted to check in and see if you have any feedback.

@ddreier this looks awesome! I'd like to get it merged if I can get the access.
Is it feasible to add tests that would confirm these changes are valid and don't break anything?

@ddreier this looks awesome! I'd like to get it merged if I can get the access. Is it feasible to add tests that would confirm these changes are valid and don't break anything?

Would definitely be nice to get some tests added, and I agree, this looks great.

Would definitely be nice to get some tests added, and I agree, this looks great.

I will have a crack at adding some tests next week if only to get this one merged.

I know ddreier is fairly busy, but we've been running 30 or so instances of Fabio with this code with significantly improved performance :smile: We've been running this way for months now in production.

I know ddreier is fairly busy, but we've been running 30 or so instances of Fabio with this code with significantly improved performance 😄 We've been running this way for months now in production.

Awesome, that's great to hear.

Unfortunately I'm not able to commit additional time right now. As @Shackelford-Arden mentioned, we've been running Fabio with these changes in production for over a year at this point. Our 30 or so Fabio instances handle hundreds of millions of public and internal requests per day.
The anecdote isn't the same as tests in code, for sure. But I hope it helps with confidence.

@ddreier thank you, and yes, it definitely helps.


Unable to get channel/private group/DM link

Currently, as there is no "address bar" in the Electron app, it is not possible to copy the URL address for the current channel/private group/DM I am at.
Maybe a good way to solve it would be adding a button in Rocket.Chat's toolbar to copy the link for the room? A keyboard shortcut would be really neat also 🙂

I dont know if this is a real needed feature..
i mean.. if you have the electron-client, do you really need the browser? And do you so need the URL?
Doesn't it fill your needs, that you could search a channel/user ?

Not having the address makes it impossible for me to share the link to any channel with anyone, or even to save the link to anything in a doc elsewhere.
It is a really useful feature

Very surprised that this feature doesn't exist yet. It should be in the channel info. How am I to share a room link when I'm not in a browser?

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.

Hello, two questions:

do you refer to latest desktop client (Electron) release, or latest server version? If the former, I'm on Ubuntu and the snapcraft website states the latest is 3.8.6, but I see a branche 20 here on github, so I'm a bit confused.
where am I supposed to look for the channel link to check if the issue is solved?
Thanks.


Merge aspnet/KestrelHttpServer into this repo

As a part of #3598, this merges the source code and history of aspnet/KestrelHttpServer release/2.1 into this repo.
For easier review of code layout, see https://github.com/aspnet/AspNetCore/tree/namc/merge-kestrel-2.1/src/Servers
TODO:

get tests to pass. Most of them currently fail with NullReferenceException in LoggedTestBase

Unclean state on my machine. It appears tests pass on CI now.

I'll merge after lunch.


Wording around availability zones and multiple-region writes.

Multi-Region Writes don't support strong consistency, because you can't have an RTO/RPO of zero. Therefore, you can turn availability zones support on for multiple-region writes, but it adds minimal value.
Would need to be verified with PG/PMs if this should be grayed out in the Azure Portal to help with the confusion of this feature.

@anaharris-ms
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#assign-reviewer:kanshig
#assign-reviewer:theovankraay
Any of these three individuals can review this pull request.

#assign-reviewer:kanshig

#assign-reviewer:theovankraay

Hi @anaharris-ms, @TheovanKraay, @seesharprun,
Normally, in the public repo, a reviewer would merge this PR based on Anastasia's approval above. Is this PR ready to merge, or does Theo's comment need to be addressed first?

@Court72 Still waiting on some more input here, so not ready to merge yet! Thanks.

Without hearing anything back, I need to recommend that we close this PR as unresolved.
#please-close


hotios plex paths changed

here is the new one:
/usr/lib/plexmediaserver/Resources/Plug-ins-07e0d4a7e/WebClient.bundle/Contents/Resources/index.html
thanks
Describe the bug
A clear and concise description of what the bug is.
Theme Install Method (Don't skip)

Docker run / Compose Config

If using docker mods share your COMPLETE container logs..

Webserver subfilter Config
Stylus Config

Application Info (Don't skip)

Version
Branch
Container
Logs

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (If applicable) (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (If applicable) (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@jpalenz77 can you explain this a bit more

@jpalenz77 try the latest version of the docker mod.
@balogun14 the https://hotio.dev/containers/plex/ image install path had changed so the script failed to sed the html file.

@jpalenz77 try the latest version of the docker mod/script.
@balogun14 the https://hotio.dev/containers/plex/ image install path had changed so the script failed to sed the html file.

All good now, thanks!


New Publishing Information + Removed Legacy Files

Contents:

Unnecessary files removed (fixes #439).

The entire $REPO_HOME/ci directory.
previewDocsServer.sh and dockerTagRelease.sh in $REPO_HOME/scripts.

Moved the contents of RELEASE.adoc to the Contrib Guide.
Made changes based on the new workflow.
Added instructions about publishing via openshiftio/saas-launchpad.

Resolves #439 and #477.
Partially resolves #377.

@tradej Heads up: Upon doing $ sudo CICO_LOCAL=true ./cico_build_deploy.sh, the Contrib guide fails to validate.

Thanks for the reviews.
I have fixed the issue, and added a small section about validating your books before submitting in contributing-making-changes.adoc.

@inoxx03 I believe so, thank you.

merging

merged: 7a89b710a0467454cfa6326011608466dfa38f43


[WIP] Show user invalid color code

fix #7 when finalised.

This has been resolved

This has been resolved in PR #34


fix: projex app fixes

What new features does this PR implement?
Please summarize the features that this PR implements. As relevant, please indicate the issues that the PR closes.

Removes _blank target from navigation buttons

Adds same blank target to individual simulation select

adds functionality to home page carousel

Adds learn (docs) button on nav hero banner

Reorder default browsing layout

Removes 'main' and 'metadata' cols from project profile files.

What bugs does this PR fix?
Please summarize the bugs that this PR fixes. As relevant, please indicate the issues that the PR closes.

Fixes browsing chip behave

:tada: This PR is included in version 9.33.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Re-factored constants

Re-factor constants. Maintained current behaviour, numerous issues came up (including #163). I have added comments where issues arrise and kept this pull request to just re-factoring. Some code may look odd at first glance because of this. Build passes and also tests implemented in main. Submitting even though I know travis is going to fail

Needs rebasing.


Better support for representing default values in introspection

https://github.com/mwildehahn/hack-graphql/pull/102#discussion_r640070248
I started doing this but input objects are a little tricky so going to do this as a PR on it's own.

input objects are a little tricky

Yeah there might be a bit of a cyclical dependency there, you need the types from the InputValue shapes to output the default values, and you need the default values for the InputValue shapes :)


Update version to 1.1.5-2 on staging

Update version to 1.1.5-2

🚀 Deployed to production by @chiragsalian in version: 1.1.6-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Print walking step coordinates

Add new configuration to print walking step coordinates. This will be helpful if you don't use any gui.

need cleanup


[✨] NT-958 Updates design polish

📲 What
Updates design polish.
🤔 Why
So we can LOOK GREAT.
🛠 How

Body text color is styled as BodyPrimary.
Likes and comments text are styled as BodySecondary.
Displaying likes and comments in backers only updates.
Backers only TextView has grid_9 margin on top and bottom.

👀 See

After 🦋
Before 🐛

📋 QA
Take a look!
Story 📖
NT-958

looks great!


My non marketplace extensions are now deleted

The folder /Users/alex/.vscode-oss-dev/extensions is now empty on my machine and around 20 extensions I wrote to troubleshoot various issues are gone 😢.
If I create a folder at /Users/alex/.vscode-oss-dev/extensions/something with the contents an extension would have, it is not found by vscode anymore.

steps to reproduce:

create an extension at /Users/alex/.vscode-oss-dev/extensions/
start ./scripts/code.sh
close vscode
start ./scripts/code.sh
observe how your files get deleted 😢


Basic np.random.choice functionality

Random sampling with weighted probabilities.
Missing functionalit:

Sampling without replacement
Output in specified shapes

Nice,
I'll merge but this will have to go through some changes once we change the backend. I'll make sure to modify it

@Plankton555 Seems like you get the point very fast. Thanks for you contribution.


The Target Page Job for the extension object is not found.

I am trying to extend table job using a tableextension.
I am getting attached error referring to "page job" not found etc.
though I guess it is because of the app.json file missing (Am I correct?), it should show error "table job" not found instead of "page job"

?

The error message is clearly wrong. It should have been Table Job.
You guess is right. You need the app.json file to point to the directory with the symbol files for the base-application. When the symbol references are in places you will also get intellisense for the available tables.
First time you type "Ctrl+Shift+B" to build or F5 to deploy, we will create one for you. Just make sure the   "packageCachePath": "../../resources" points to the same folders as the installed samples.

It would be helpful if you can share the action items taken and when can we get the solution also.

Sorry. The bug is fixed, but the timeframe for next update has a lot of dependencies, and is yet to be determined.


KeyError: 'car'

Traceback (most recent call last):
  File "/home/ztd/Videos/repulsion/repulsion_9_23/train_vgg_repulsion.py", line 207, in <module>
    imdb, roidb, ratio_list, ratio_index = combined_roidb(args.imdb_name)
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/roi_data_layer/roidb.py", line 122, in combined_roidb
    roidbs = [get_roidb(s) for s in imdb_names.split('+')]
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/roi_data_layer/roidb.py", line 119, in get_roidb
    roidb = get_training_roidb(imdb)
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/roi_data_layer/roidb.py", line 103, in get_training_roidb
    imdb.append_flipped_images()
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/datasets/imdb.py", line 122, in append_flipped_images
    boxes = self.roidb[i]['boxes'].copy()
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/datasets/imdb.py", line 79, in roidb
    self._roidb = self.roidb_handler()
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/datasets/pascal_voc.py", line 133, in gt_roidb
    for index in self.image_index]
  File "/home/ztd/Videos/repulsion/repulsion_9_23/lib/datasets/pascal_voc.py", line 266, in _load_pascal_annotation
    cls = self._class_to_ind[obj.find('name').text.lower().strip()]
KeyError: 'car'

how to solve with your class from 20 categories to self._classes = ('background',  # always index 0
'ped','ignore')
You had modified the dataset pascalvoc before?
你是怎么把20类，转变成背景，ped，和ignore，之前就对xml制作的数据进行了修改吗

OK,I have solved this. Using the cityscapes datasets, and transform the data  into pascalvoc type with method author post on Github. I can train with  train_vgg_repulsion.py now.


DCOS-37612 - Run Jobs Menu Item

This is the replacement of #2999 and #3020.
This PR has 2 goals:

The groundwork to detach the menu from the JobsDetails page.
Add the Run Job with the new Data Layer pattern.

Checklist
Checklist

[X] Did you add a JIRA issue in a commit message or as part of the branch name?
[X] Did you add new unit tests?
[X] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

@Fabs your first commit seems to be "broken" 🤔

I have those failed system tests:

Sorry, @juliangieseke. For that, there is an easy fix. I won't dismiss your comments anymore.

The snapshot tests for jest I wrote are not supported on CI. I will find a way to deal with that....


Character counter

There is a character counter in the HMRC design system but there is also a character counter that's being developed by GDS (@alex-ju).
We should not be replicating things that have been done before in other places. instead, we should try to build on top of what other people have done. The HMRC character counter was developed a long time ago and has not been iterated.
The GDS version is more recent and has more functionality.
We should move HMRC services towards using the newer GDS version of the character counter. This version is still in development and needs more work. We could pick up some of this work as part of implementing it into HMRC services - testing it and refining in the process.
The HMRC version of the character counter is used in the following services frontends.

Service
GitHub instance
Usage count

childcare-calculator-frontend
(public)
[1]

claim-tax-refund-frontend
(public)
[1]

legged-up-childcare-frontend
(enterprise)
[1]

paye-registration-frontend
(public)
[1]

paye-settlement-agreements-frontend
(public)
[1]

residence-nil-rate-band-calculator-frontend
(public)
[1]

social-care-compliance-frontend
(enterprise)
[1]

valuation-office-agency-contact-frontend
(public)
[1]

More precise details of where the character counter is used
[
  {
    "name": "childcare-calculator-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/childcare-calculator-frontend/blob/master/app/uk/gov/hmrc/childcarecalculatorfrontend/views/components/input_textarea.scala.html#L52",
        "path": "/app/uk/gov/hmrc/childcarecalculatorfrontend/views/components/input_textarea.scala.html",
        "line": 52,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  {
    "name": "claim-tax-refund-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/claim-tax-refund-frontend/blob/master/app/views/components/input_textarea.scala.html#L52",
        "path": "/app/views/components/input_textarea.scala.html",
        "line": 52,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  {
    "name": "legged-up-childcare-frontend",
    "github": "enterprise",
    "count": 1,
    "files": [
      {
        "url": "/HMRC/legged-up-childcare-frontend/blob/master/app/uk/gov/hmrc/childcarecalculatorfrontend/views/components/input_textarea.scala.html#L52",
        "path": "/app/uk/gov/hmrc/childcarecalculatorfrontend/views/components/input_textarea.scala.html",
        "line": 52,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  {
    "name": "paye-registration-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/paye-registration-frontend/blob/master/app/views/pages/natureOfBusiness.scala.html#L28",
        "path": "/app/views/pages/natureOfBusiness.scala.html",
        "line": 28,
        "match": "
"
      }
    ]
  },
  {
    "name": "paye-settlement-agreements-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/paye-settlement-agreements-frontend/blob/master/app/uk/gov/hmrc/payesettlementagreementsfrontend/views/components/input_textarea.scala.html#L52",
        "path": "/app/uk/gov/hmrc/payesettlementagreementsfrontend/views/components/input_textarea.scala.html",
        "line": 52,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  {
    "name": "residence-nil-rate-band-calculator-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/blob/master/app/uk/gov/hmrc/residencenilratebandcalculator/views/rnrbHelpers/input_textarea.scala.html#L35",
        "path": "/app/uk/gov/hmrc/residencenilratebandcalculator/views/rnrbHelpers/input_textarea.scala.html",
        "line": 35,
        "match": "
@messages(\"site.textarea.char_limit\")
"
      }
    ]
  },
  {
    "name": "social-care-compliance-frontend",
    "github": "enterprise",
    "count": 1,
    "files": [
      {
        "url": "/HMRC/social-care-compliance-frontend/blob/master/app/views/components/input_textarea.scala.html#L52",
        "path": "/app/views/components/input_textarea.scala.html",
        "line": 52,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  {
    "name": "valuation-office-agency-contact-frontend",
    "github": "public",
    "count": 1,
    "files": [
      {
        "url": "https://github.com/hmrc/valuation-office-agency-contact-frontend/blob/master/app/uk/gov/hmrc/valuationofficeagencycontactfrontend/views/components/input_textarea.scala.html#L54",
        "path": "/app/uk/gov/hmrc/valuationofficeagencycontactfrontend/views/components/input_textarea.scala.html",
        "line": 54,
        "match": "
@messages(\"site.textarea.char_limit\", charLimit.get)
"
      }
    ]
  },
  "8 occurrences found in 8 projects"
]

This issue is closed because we should be using the version in the GOV.UK Design System.


repo: fix undefined structpb

Was getting repo/db/files.go:202:12: undefined: structpb on make build.
Searching github for structpb returned imports like seen here. The latest VSCode tooling also suggested the change.

There were the following issues with your Pull Request

Commit: 9eeddb520bde66bbdba35a5a1802c94ebcc8bb14
Your commit message body contains a line that is longer than 80 characters

This message was auto-generated by https://gitcop.com

Switching to an alias import fixed the undefined?

Switching to an alias import fixed the undefined?

Correct

That sounds pretty strange. Maybe a VSCode thing. Happy to approve so you can keep moving... just curious though, what's you go version?

That sounds pretty strange. Maybe a VSCode thing. Happy to approve so you can keep moving... just curious though, what's you go version?

> go version
go version go1.12.4 darwin/amd64

Cheers. I'd guess VSCode will ask you to update more of the imports where the package name does not match the last segment of the import.

You should be able to circumvent the gitcop by just using admin privileges.


including redux-persist in react-boilerplate

this question has been asked multiple times now, but still I am not getting a work around of the problem. Can anyone share his steps of how to implement redux-persist and redux-persist immutable.
I am still getting state.get not a function

Please use StackOverflow for help. I'm sorry you aren't garnering responses here, but this is to track issues, it's not a help forum.


help with adding custom headers

help with adding custom headers
  this is a screenshot from an example.
My code doesn't work either.
in Mainifest.xml
<meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
in string.xml
<string name="asset_statements" translatable="false">[{ \"include\": \"https://qwerty.com/.well-known/assetlinks.json\" }] </string>
file from site: https://qwerty.com/.well-known/assetlinks.json
[{   "relation": ["delegate_permission/common.use_as_origin"],   "target" : { "namespace": "android_app", "package_name": "my.app.android",                "sha256_cert_fingerprints": ["52:52:52:52:36:D9:4E:F3:DB:E5:3E:0E:7A:2D:3C:D8:08:8E:7A:FF:56:FC:30:E0:59:AC:05:43:CE:CE:CE:CE"] } }]
the rest of the code is as in the example [(https://developer.chrome.com/docs/android/custom-tabs/headers/)]

Trying to access https://qwerty.com/.well-known/assetlinks.json says the site is offline. The screenshot also seems to point to https://custom-tabs-custom-he.glitch.me/, which is not the site being validated. You should open a URL in https://qwerty.com since it's the origin being validated.

qwerty.com was for example
real - https://api.busy-fly.com/.well-known/assetlinks.json

qwerty.com was for example
real - https://api.busy-fly.com/.well-known/assetlinks.json

The asselinks file looks correct (assuming fingerprints match). So, the custom headers will only be sent when opening URLS under https://api.busy-fly.com.

fingerprint taken with the utility

but my full address looks like
"https://api.busy-fly.com/end-user-api/v1/balance-package-purchase-payment-form?balance_package_id=${packageId}")

aloso no work

also does not work with fingerprint
keytool -list -v -keystore PATH_TO_KEYSTORE -alias VALUE_OF_ALIAS

I tested this today and can see it working. I did find a couple of issues in the demo application and submitted #280 with fixes. Can you try with those fixes?
I just tested in an emulator with Chrome 89 and can see the demo working:

Maybe it's worth trying to remix the demo here https://glitch.com/edit/#!/custom-tabs-custom-he and changing public/.well-known/assetlinks.json to reflect your own app, then modify the URL on the Android demo.

Hi guys, if you cannot see the extra headers from your app, the following info might be helpful.

Find the /.well-known/assetlinks.json from https://glitch.com/edit/#!/custom-tabs-custom-he, you will not be able to see the     .well-known folder on the left panel since it's a hidden folder. Click the "Remix to Edit" from the right top pop-up windows, it will clone the project into your account. Then you can click the "Tools" on the left bottom, then "Terminal", and cd to ./public/.well-known and you'll see the assetlinks.json file.
Replace the "sha256_cert_fingerprints" with yours.
Use "relation": ["delegate_permission/common.use_as_origin"].

Tested with Chrome 90.0.4430.210

@andreban
I setup my assetlinks file here https://namnh-0652.github.io/.well-known/assetlinks.json
and try the demo app with my link "https://namnh-0652.github.io" but no headers are added.

@andreban I setup my assetlinks file here https://namnh-0652.github.io/.well-known/assetlinks.json and try the demo app with my link "https://namnh-0652.github.io" but no headers are added.
CCT version 9x.
@DmitryDogar , @lionandbull any updated status from you guys?

Same issue for me with the demo app (here is my assetlinks file)/


Request for Theme option for no background dark/ light

This theme extracts images from the song covers and applies them as background with blur and darkening.
For lower-end PC users, Wish to see an option for no background, as this leads to heavy CPU usage.
*including well-demarcated UI elements for better accessibility.

there is an option for it in bloom settings solid background  also i will be rewriting the code and optimizing it for lower end pcs

hey @Nimai-HK can you check the theme now it should be solved

Yeah, Thanks!

hope you like it ❤


Can we monitor the ATS requests issued by PCIe devices?

IIUC, ATS is essentially a memory read request initiated by the PCIe device to the CPU side, therefore it should be observable by the IB read counter of pcm-iio?

Hi @rhiswell
Your understanding is correct


plan after initial deployment detects drift

Just deployed from main... initial deployment fine.. a new plan shows the a drift detection, despite doing nothing at all... The strange thing is that actually the drift is "non-existent"
These are the 3 resources with drift detected

module.aft.module.aft_lambda_layer.aws_iam_role.codebuild
resource "aws_kms_key" "aft_log_key"
resource "aws_s3_bucket_policy" "aft_logging_bucket"

all the "drifts" are policy objects where one of the principals has been replaced by another (of the same name) e.g.
~ Principal = {
                      ~ Service = [
                            - "cloudtrail.amazonaws.com",
                               "delivery.logs.amazonaws.com",
                             + "cloudtrail.amazonaws.com",
                               "vpc-flow-logs.amazonaws.com",
                            ]
                        }

running : terraform apply -refresh-only
doesn't fix the issue.. we see that one or more of the policies remains in "drift" state..

Fairly certain this is an issue in the aws provider. They have a new tracking issue, summarizing all the reported issues...

https://github.com/hashicorp/terraform-provider-aws/issues/21968

agreed.. will close this as an issue for this project

Just a note that we have a handle on the part of the problem that you mention here: nonexistent drift detections (i.e., perpetual diffs). Once we roll out the fixes that are in progress, that part should be good. However, the other part is valid out-of-band changes causing much larger diffs than they should. The extra layer of JSON wrapping seems to be causing problems there as well.


Maintain compability with ConfigurationManager < 3.2.0

Fixes issue #1738

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi @Karamell, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@azuresdkci test this please


Beta Entitlement Error in iTunes Testflight

I am getting following error on iTunes "To use TestFlight Beta Testing, build XX must contain the correct beta entitlement. For more information, see the FAQ."  while using following sequence of command.
produce
cert
sigh(adhoc: true)
ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID]
gym
ENV["PILOT_IPA"] = ENV["IPA_OUTPUT_PATH"]
pilot(skip_submission: true)

Anyone can let me know which command should i use to prevent this error?

Could you try deleting your provisioning profile and letting sigh create a new one for you?

I tried it, but did not work.
However i have noticed log of sign and discovered, it is performing following steps every time, even if there is profile on folder.
Successfully logged in
[11:03:03]: Fetching profiles...
[11:03:13]: Found 1 matching profile(s)
[11:03:13]: Downloading provisioning profile...
[11:03:15]: Successfully downloaded provisioning profile...
[11:03:15]: Installing provisioning profile...

Have you tried the same using the latest version of gym?

Yes, I tried after updating gym also.

Its working now. Cheers!
There was no update on fastlane, but i have updated gym and pilot separately and its working now,
Thanks

Great to hear :+1:

Started getting this same error once again. Now i am using gyn(export_method: "ad-hoc")

You could try gym(use_legacy_build_api: true)

Not worked, getting same error.
New iTunes Connect shows "Missing Beta Entitlement" on External Testing Status Column.

I figured it out.
Issue coming because of i am using 'ad-hoc' as export_method, it works fine with 'app-store' as export_method.


feat: add user slug

As per discussions in #209
APIs for creating a user accept User model that has slug defined but the User model for shield doesn't have it, nor does it persist in the database.
In this PR, we are adding the missing slug in the Users model, also added support to Get and Update users by slug

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

45 of 289 (15.57%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.2%) to 51.856%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/user.go
2
9
22.22%

internal/api/v1beta1/user.go
27
44
61.36%

internal/store/postgres/user_repository.go
15
235
6.38%

Files with Coverage Reduction
New Missed Lines
%

internal/store/postgres/user_repository.go
2
43.55%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
4708

Relevant Lines:
9079

💛  - Coveralls


frontend

Pull Request
Description
A clean dashboard for the user to view their solar generation forecasts
Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

@aryanbhosale in terms of folder structure I was thinking that this was perhaps better to have this in the example folder? But keen to hear your thoughts, just that way I think it is closer to the inverter example code

@aryanbhosale in terms of folder structure I was thinking that this was perhaps better to have this in the example folder? But keen to hear your thoughts, just that way I think it is closer to the inverter example code

Yes true, but I only kept it in the root directory because usually we separate the frontend and backend in 2 folders, and the different functions in the quartz_solar_forecast directory(spread across a several files and folders) act as the backend to this, so I thought that it should be at the same level to the  quartz_solar_forecast directory

@aryanbhosale in terms of folder structure I was thinking that this was perhaps better to have this in the example folder? But keen to hear your thoughts, just that way I think it is closer to the inverter example code

Yes true, but I only kept it in the root directory because usually we separate the frontend and backend in 2 folders, and the different functions in the quartz_solar_forecast directory(spread across several files and folders) act as the backend to this, so I thought that it should be at the same level as the quartz_solar_forecast directory

Hey @Sukh-P , I've improved the error handling and the auth workflow in my latest commit. The issue was that before this the app was requesting a new authorization code for each forecast run, leading to "Invalid authorization code" errors and there was no persistent storage of the access token between interactions.
So to make it work, I implemented Streamlit's session state to store the access token, allowing it to persist across multiple forecast runs and modified the authorization flow to check for an existing access token before requesting a new one.

@aryanbhosale in terms of folder structure I was thinking that this was perhaps better to have this in the example folder? But keen to hear your thoughts, just that way I think it is closer to the inverter example code

Yes true, but I only kept it in the root directory because usually we separate the frontend and backend in 2 folders, and the different functions in the quartz_solar_forecast directory(spread across a several files and folders) act as the backend to this, so I thought that it should be at the same level to the quartz_solar_forecast directory

So I agree that makes sense in terms of the split, perhaps we should rename the folder though to steamlit_app or something like that so it's a bit more clear what it is

@aryanbhosale in terms of folder structure I was thinking that this was perhaps better to have this in the example folder? But keen to hear your thoughts, just that way I think it is closer to the inverter example code

Yes true, but I only kept it in the root directory because usually we separate the frontend and backend in 2 folders, and the different functions in the quartz_solar_forecast directory(spread across a several files and folders) act as the backend to this, so I thought that it should be at the same level to the quartz_solar_forecast directory

So I agree that makes sense in terms of the split, perhaps we should rename the folder though to steamlit_app or something like that so it's a bit more clear what it is

That makes sense, but what you'd mentioned earlier sounds better, that it'll stay close to the parent function that it helps visualize, ie inside the examples folder. Should I shift it there without changing the name?

Could you add screen shot of the UI in the PR please?

Could you add screen shot of the UI in the PR please?

ive added a video


G+ not working

When i try to login via G+, i get the 400 http error and the following:
Error: origin_mismatch

Application: Badger

You can email the developer of this application at<EMAIL_ADDRESS>
Request Details
=
e=3100077
scope=https://www.googleapis.com/auth/plus.login
response_type=code token id_token gsession
redirect_uri=postmessage
cookie_policy=single_host_origin
proxy=oauth2relay248082853
state=1651136718|0.1778583905
origin=https://therealklanni.github.io
include_granted_scopes=true
client_id=679488287242.apps.googleusercontent.com
request_visible_actions=http://schemas.google.com/AddActivity http://schemas.google.com/CreateActivity

That’s an error.

Error: redirect_uri_mismatch
The JavaScript origin in the request, http://therealklanni.github.io, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/679488287242.apps.googleusercontent.com?project=679488287242 to update the authorized JavaScript origins.
Learn more
Request Details
That’s all we know.

The GitHub demo is not really meant to be used directly, it's just a demo. As such, I don't have motivation to fix the G+ login. I recommend you fork/clone this repo and modify it to suit your needs and you can then push your own GitHub Page with it (or host it wherever you like).


Backport "Make List documentation more consistent" to LTS

Backports #19108 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-19356.
Reference


[Panic]Lint failed and keep reporting mistakes

When using jupyter notebook , I have a string just like
second_question = """问题:少年活动中心的某个绘画室中有3腿的凳子和4腿的椅子共40张，房间里恰好有40位小朋友坐在这40张凳子和椅子上。昊昊数了一下，凳子的腿、椅子的腿和小朋友的腿数，总数是225。那么绘画室中，凳子有15张。
解答
方法一：注意小明友总共有80条腿：假设40张全是椅子，那么应共有(4+2)×40=240条腿。比实际多240-225=15条腿，这说明有15÷(4-3)=15张凳子。
方法二：设有凳子x张，椅子(40-x)张，
则3x+(40-x)×4+80=225，
解得：x=15，
答：绘画室中共有15张凳子。"""

This will lead a lint failed and if dont fix the string, it will continous report.....
In my opinion, this string is right and I need to use it. But with this bug, when I type anyting,  it will pop-up waring....

Hy @majiayu000
Thanks for the report. This seems to be the same issue as https://github.com/astral-sh/ruff/issues/9145 We plan to make a release today (next 24h) to get the fix out.

Thanks for the reply, I'm looking forward to the new changes because I want to understand how it works！


[Request] Highstock Events - Access to xAxis.events.setExtremes event

Hello, I'm using your chart directives in our project and I love it so much.
I'm using Highstocks and I need to know when user changes range of the chart and put these extremes in two variables (like in your example). I've tried your example with (selection) event emitter, but it doesn't work with navigator (editing range and panning) and range selector buttons (1M, 3M, YTD, ALL). It works only with editing the area in the chart (zooming and panning). That's probably because this event is made for Highcharts, not Highstocks.
I wanted to ask if there is (or will be) any way to access the xAxis.events.setExtremes event. I tried it through console.log and it worked like a charm, but I cannot assign these values to angular2's model variables.
I also thought that would be a nice thing to present in your examples, for users who need to use highstocks.
I appreciate your great work, thank you in advance.
//EDIT
Just for completation, you can see desired behavior here. Just check the console log.

I really cannot understand the question.

If you can fetch values in the event handler why you cannot assign them to a variable ?

Sorry, my description maybe weren't so clear.
Maybe I'm doing something wrong, but in this updated plunk you can see that console logging with these variables works okay, but assigning these values to this.from and this.to model variables doesn't work.
So I thought the correct way doing this is through your event emitters like (selection) in template, or I can really miss something.

You are not changing properties of your component in your fiddle. see http://plnkr.co/edit/IXmgt9CcR15B3WbUizKr?p=preview

Aww, I though I must miss something, thank you so much!

Yes, you did. How function context works in JS ;) https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/this

I am trying to access the rangeSelector button event inside my component. But I am not able to do so if the button is pressed. http://plnkr.co/edit/OwcqjORHCB9pZHBrt4cm?p=preview.


deployer: Return value for CreateDeployment

Currently CreateDeployment returns an empty deployment in the case where we have our first release (since we always transition between two releases, and simply setting the initial formation will basically deploy the release). This was so that from the code, you can call CreateDeployment, and it will simply call the SetAppRelease if this was the initial release, or schedule a deployment for any other release -- you do not need to care whether this was an initial deployment or not.
After discussing with @jvatic, it is a bit weird from the API side (since we return {} in the first case), so we're considering the alternative of throwing an error, which would then need additional checks in the code:
err := client.CreateDeployment(appID, releaseID)
if err != nil && err != InitialRelease { // ignore InitialRelease error
    return err
}

SGTM

@lmars This is more of a question, which of the two options would be better to use?

Oh, +1 for returning the error.


Border with filled shapes

Liebegrüße Nik und Konstituierenden

Hello @mrgreata,
thank you for your suggestion, but at the moment we are not planning on adding this feature.
Instead you can create borders by using existing methods such as drawRectangle and fillRectangle.
There are two approaches you can use:
Border around the edge
This approach draws the border on both sides of the edge. This means that the inside of the shape will be slightly smaller than the specified coordinates.
int borderSize = 10; // in px
cd.setLineWidth(borderSize);
cd.fillRectangle(200, 200, 200, 100); // fill first
cd.drawRectangle(200, 200, 200, 100);

Border outside of the edge
This approach draws the border outside the shape. This means the shape will retain it's width and height.
int borderSize = 10; // in px
cd.setLineWidth(borderSize * 2); // the size of the border will be 10px because the fillRectangle will draw over the drawRectangle
cd.drawRectangle(200, 200, 200, 100); // draw first
cd.fillRectangle(200, 200, 200, 100);


Create Deno.gitignore

This is a good file to include for those that are choosing to use the Deno framework for new projects. I believe that the Deno project is used enough to warrant an addition to Github's library of preconfigured .gitignore files.
The contents of the provided file is a direct copy of the .gitignore file provided by the project's own repository. The file I copied is located here: https://github.com/denoland/deno/blob/main/.gitignore.
I am not affiliated with the Deno project.
To learn more about the Deno project, please visit https://deno.land.
An explanation for the ignored files not mentioned in the comments directly in the file:
*.orig # Generally used as a backup when making changes to a file to compare with the original. These can clutter up a repository when they are left as a future reference.
*.pyc # A compiled python script
*.swp # A swap file created by the Vi editor and it's derivatives
.env # A file containing environment variables. Committing this file to a repository can pose a major security risk.

/.cargo_home/ # A directory used by Cargo: https://github.com/rust-lang/cargo#compiling-from-source
/.idea/ # A configuration directory used by JetBrains programs.
/.vscode/ # A configuration directory used by Visual Studio Code
gclient_config.py_entries # I'm not entirely sure what this is beyond that it is related to gclient, see: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/HEAD/README.gclient.md. If you know more, please feel free to submit a PR with an explanation replacing this comment.
/gh-pages/ # A directory used by Github Pages
/target/ # Often used as an output folder when compiling, building, transpiling, etc. code.
/std/hash/_wasm/target # I assume this is a target folder when compiling web assembly. If you know, please feel free to submit a PR with an explanation replacing this comment.
/tools/wpt/manifest.json # Manifest file for web-platform-tests.

Please see the file in the PR for explanations of the rest of the included rules.

In some cases, a .deno dir is created.
Can you write /.deno/?

Add /.deno/
In some cases, a .deno dir is created.

Not sure what is contained in this directory. It may be something that should be committed but I have not found any documentation explaining what is contained in it. (Why is searching for terms with special characters so hard in 2023‽) Would you mind telling me what is contained in this directory or pointing me to some documentation?
They also updated the .gitignore file in the Deno repository.
Additionally, there are some parts of the Deno-made gitignore that shouldn't be in it like the VSC directory you mentioned as well as JetBrains stuff and Mac stuff.
Not sure why *.pyc is in the file but I figure there is some reason so I'm leaving it for now.
I will be making a new PR with those updates as well once I figure out if /.deno/ should be ignored.

Not sure what is contained in this directory. It may be something that should be committed but I have not found any documentation explaining what is contained in it. (Why is searching for terms with special characters so hard in 2023‽) Would you mind telling me what is contained in this directory or pointing me to some documentation?

I'm sorry. I told you the wrong thing.
It seems that the /.deno/ directory is only when working with Replit.
It is not official.

Almost all of these are completely unnecessary. The only one which serves some purpose (and isn't editor-specific) is .env:
*.orig # Editor specific
*.pyc # Python-related? Deno doesn't have anything to do with python.
*.swp # Editor specific
.env # Useful

/.cargo_home/ # Rust-related. Deno doesn't have anything to do with rust outside of being written in rust.
/.idea/ # Editor specific
/.vscode/ # Editor specific
gclient_config.py_entries # tool specific
/gh-pages/ # tool specific
/target/ # Rust-related
/std/hash/_wasm/target # Rust-related again, in this case this seems to be copied from the standard library and is not useful for average user projects
/tools/wpt/manifest.json # WPT-related, not useful for average user projects


Why i cant import the json file. It said cannot find SW1 footprint

You'll have to provide more information, the json would be a good start.

keyboard-layout.txt
im a 3D artist, i dont have that such knowledge in electronics. and i dont use this tools for printing real pcb, i just wanna take the 3D model and bring it to my 3D project. thank you for your support

No problem, could you also share a screenshot of your schematic? Also, another thing you should keep in mind is that you need to update PCB from schematic (ie have the footprints actually in the pcb editor when you run the script)

I'm experiencing a similar issue. I aligned the initial components and run the plugin, however, I also get the same "Cannot find footprint SW1" error.
Here is the error pop-up.

as well as the json file.
keyboard-layout.json
The references were sourced from Joe Scotto's repositories.
https://github.com/joe-scotto/scottokeebs/tree/main/Extras/ScottoKicad
Apologies as I can't read on what's causing the issue.

Did you import the footprints into the pcb editor (update PCB from schematic) before you ran the script? the footprints need to be in the actual PCB editor when you run the script

Ah I did. Turns out, the problem was occuring within the annotations.
A workaround I used is to set the "SW{}" from the plugin to only "S{}". I still get an error, however, after exiting out of the error dialogue, the footprints are configured properly. I know that with that method there would be two "S{}" annotations for both the switches and stabilizers, I assume they would interfere.
My guess is that the assets's annotations that I'm using are not compatible with the plugin.

You can always use the same library as i did, marbastlib. otherwise there might be a way to change the references of the library you're using

Had this issue today, completed placement by changing SW{} to MX{}. Have latest marpatlib plugin, following Noah Kisers TKL build. Seems like just a naming convention change.


Map problems

Thanks so much for your help so far.
Run into an issue.

When i open the app, im in the middle of the ocean. I try to change it and this happens

Using mac btw. Any tips? Thnks

Part of the oops comes from there being no api key for google maps and the limit being reached.  You could get a key and won't run into the limit being reached.

Same problem on the latest mac version. Distances look way off. Nothing shows up on the map. location link in front of the distance does not work. Any suggestion on how to solve this?

Thank you for this great app!! I noticed that in the latest version if i get a message from someone who is not within 200 profiles, then i can not find a location of that person. is this an easy fix ? attached is a screenshot

Noticed that too - you can get the profile in the grid by using the filters

usually "age" is enough.

I vaguely remember an exchange on the number of decimal places used for
distance inside the code and it being fixed to 3. This seems to introduce
an error over 1000 miles - the globe icon placed profile in the middle of
nowhere, another time the ocean. Doesnt happen on the early version before
the distance fix
On Sun, Apr 2, 2017 at 1:27 AM, braadinny<EMAIL_ADDRESS>wrote:

Thank you for this great app!! I noticed that in the latest version if i
get a message from someone who is not within 200 profiles, then i can not
find a location of that person. is this an easy fix ? attached is a
screenshot
[image: 0001]
https://cloud.githubusercontent.com/assets/26305818/24585582/a1912dc0-175c-11e7-85e8-285602c69066.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tomlandia/fuckr/issues/119#issuecomment-290972435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AObrIRWDuzpTW-tXBM3GaQfnKHSsMTaUks5rr1vzgaJpZM4MeiOm
.


Flesh out the web_canvas crate a bit more

@bors-servo: r+

:pushpin: Commit a49714e has been approved by pcwalton

:hourglass: Testing commit a49714e0ba3b1f0742b4a491399f85ee8713411a with merge b97c92ca8df299253d52c38c4f2b549686a97596...

:sunny: Test successful - checks-travis
Approved by: pcwalton
Pushing b97c92ca8df299253d52c38c4f2b549686a97596 to master...


getMap() do hscan the hashkey

when i use redissonClient.getMap("hashKey")，it will hscan the hasKey first，is this a bug ？

redissonClient.getMap() method itself doesn't make any Redis call.

thanks, i found the reason, it caused by aop log which print the rmap


animation in li nth child

kindly suggest how to write the follwing code in styled component:
li:nth-child(4) {
  animation: xfade 16s 0s infinite;
}
li:nth-child(3) {
  animation: xfade 16s 4s infinite;
}
li:nth-child(2) {
  animation: xfade 16s 8s infinite;
}
li:nth-child(1) {
  animation: xfade 16s 12s infinite;
}
@keyframes xfade{
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
}

regards
gmchaturvedi

Version
1.0.5
Reproduction
https://www.webpackbin.com/bins/-KeeZCr0xKfutOfOujxN
Steps to reproduce
Expected Behavior
Actual Behavior

There's an example for how to use css animations in the readme.
Your example would look like this when translated directly:
import styled, { keyframes } from 'styled-components';

const xfade = keyframes`
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
`;

const Li = styled.li`
  &:nth-child(4) {
    animation: ${xfade} 16s 0s infinite;
  }
  &:nth-child(3) {
    animation: ${xfade} 16s 4s infinite;
  }
  &:nth-child(2) {
    animation: ${xfade} 16s 8s infinite;
  }
  &:nth-child(1) {
    animation: ${xfade} 16s 12s infinite;
  }
`;

Btw, I don't think your third keyframe at 92% is doing much if it's got the same rules as the previous keyframe. ;)
You can also rewrite the nth-child selectors to be a bit clearer (unless there are other list items that should not receive the animation):
const xfade = keyframes`
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
`;

const Li = styled.li`
  animation: ${xfade} 16s 0s infinite;

  &:nth-child(3) {
    animation-delay: 4s;
  }
  &:nth-child(2) {
    animation-delay: 8s;
  }
  &:nth-child(1) {
    animation-delay: 12s;
  }
`;

li+li:before {
padding: 8px;
}
How could i convert this to styled comp?

@jaredcomiso Usage questions should be raised on StackOverflow or our Spectrum community, not the issue tracker. Thanks!


xfreerdp hangs when closing Windows session with redirected smartcard

Hello,
I am using FreeRDP from GIT Master branch (from today) on a Ubuntu 12.04 LTS5 to connect to

a Windows 2012 R2
a Windows 8.1 Entreprise

Using the following command line:
xfreerdp /v:w8-test +toggle-fullscreen /cert-ignore +compression /compression-level:2 +heartbeat /d:DOMAIN /u:user /p:password /f /kbd:french +auto-reconnect /client-hostname:HOST /sec:nla /smartcard:0f14:0038
On both hosts, redirecting a smartcard causes a problem when I disconnect the session: the screen remains black, xfreerdp hangs forever....
However, I am using a card reader so if I remove the card (or insert it - so if I change the "state" of the reader), it unblocks the process:
The last errors (CHANNEL_RC_NOT_CONNECTED) are printed during the black screen. I interrupt them when removing the card...
[15:39:33:185] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service smartcard (static)
[15:39:33:199] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service smartcard (static)
[15:39:33:704] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SCARD (type=32 id=1)
[15:39:33:704] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: SCARD (type=32 id=2)
[15:39:34:396] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SCARD (type=32 id=1)
[15:39:34:396] [13348:13356] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: SCARD (type=32 id=2)
[15:39:35:115] [13348:13364] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeW (0x000900A4), status: SCARD_E_CANCELLED (0x80100002)
[15:39:51:892] [13348:13349] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[15:39:51:017] [13348:13349] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3
[15:40:12:019] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:021] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:021] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:021] [13348:13403] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardConnectW (0x000900B0), status: SCARD_E_NO_SMARTCARD (0x8010000C)
[15:40:12:022] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:022] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:022] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:023] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:023] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:023] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]
[15:40:12:023] [13348:13359] [ERROR][com.freerdp.channels.rdpdr.client] - VirtualChannelWrite failed with CHANNEL_RC_NOT_CONNECTED [00000004]

Fixed in #2793


[logging] Guarantee fully written logs are kept

Overview
The previous iteration used a much smaller buffer for logs, as well as
kept an unmaintained size of the queue.  This now gives a bounded size
for the queue.  In addition, we were dropping logs when we couldn't
connect to the TCP endpoint.  Now, we will keep retrying to connect
without dropping logs.
Where we still drop logs?
We still will drop logs if there's a disconnection in the middle of writing a log.  Because the logstash side isn't yet handling duplicate logs with the id, I went on a conservative approach, rather than resubmitting the log.
Testing
Cluster test successfully writes logs.  It's not the greatest of tests because it doesn't test large amounts of pressure on the logging system.

Logic is a little interesting in that we block on the last message until we get connected. It might be good to document the behavior of the TcpWriter in a doc block.

The other option is to have two queues, a resubmission queue, and a sending queue.  Then we could possibly have two threads writing so we always get the latest logs, as well as not drop logs.  This didn't happen that often, but when we did disconnect, the old logic would just straight up drop the logs.

Seems this is mostly a refactor with one additional condition, we block logging until we have a connection.

It is mostly a refactor with one additional condition.  It was refactored this way so that:

It's logically simpler and less confusing
It allows for usage with other logging frameworks such as tracing if that is a path we go down

This is a quick fix in general, the reason we now parse the JSON before writing to the Sender rather than after is to keep the storage to a maximum fixed size.  Before, we'd have messages that could be very large in the sender.

If we don't get a connection, we'll keep around our oldest logs until we do. Interesting. Is there another delta here? Besides 1024 -> 10K? Do we have data to suggest a proper upperbound?

For the proper upperbound, I can't tell you what the concurrent writes are.  Our metrics are at the smallest minutely metrics.  At worst, we log from code ~2200 logs per minute, and at best we write to TCP ~800 logs per minute.  That gives us roughly 7 minutes of backlog, at that highest rate.  It seems to me we probably need another writer thread.
We do mostly write at ~1000 logs per minute.
Either way, it looks like we have roughly a 15% write failure on the logs in general :(
http://prometheus.premainnet.testnet.libra.org:9091/d/4Na_dsIMk/logging?orgId=1&from=now-12h&to=now

Logic is a little interesting in that we block on the last message until we get connected. It might be good to document the behavior of the TcpWriter in a doc block.

The other option is to have two queues, a resubmission queue, and a sending queue. Then we could possibly have two threads writing so we always get the latest logs, as well as not drop logs. This didn't happen that often, but when we did disconnect, the old logic would just straight up drop the logs.

Seems this is mostly a refactor with one additional condition, we block logging until we have a connection.

It is mostly a refactor with one additional condition. It was refactored this way so that:

It's logically simpler and less confusing
It allows for usage with other logging frameworks such as tracing if that is a path we go down

This is a quick fix in general, the reason we now parse the JSON before writing to the Sender rather than after is to keep the storage to a maximum fixed size. Before, we'd have messages that could be very large in the sender.

If we don't get a connection, we'll keep around our oldest logs until we do. Interesting. Is there another delta here? Besides 1024 -> 10K? Do we have data to suggest a proper upperbound?

For the proper upperbound, I can't tell you what the concurrent writes are. Our metrics are at the smallest minutely metrics. At worst, we log from code ~2200 logs per minute, and at best we write to TCP ~800 logs per minute. That gives us roughly 7 minutes of backlog, at that highest rate. It seems to me we probably need another writer thread.
We do mostly write at ~1000 logs per minute. But our average TCP log write is ~200 or less logs per minute
Either way, it looks like we have roughly a 15% write failure on the logs in general :(
http://prometheus.premainnet.testnet.libra.org:9091/d/4Na_dsIMk/logging?orgId=1&from=now-12h&to=now

I would like to believe that we aren't bottlenecked on local processing and that a single thread should be able to easily saturate the logging network thread. At any rate, my only goal was to comment on the potential benefit of adding a doc block that describes the intention of the TcpWriter so other folks don't think they spot a bug when it is actually part of the implementation.

Looks good!

/land

Logic is a little interesting in that we block on the last message until we get connected. It might be good to document the behavior of the TcpWriter in a doc block.

The other option is to have two queues, a resubmission queue, and a sending queue. Then we could possibly have two threads writing so we always get the latest logs, as well as not drop logs. This didn't happen that often, but when we did disconnect, the old logic would just straight up drop the logs.

Seems this is mostly a refactor with one additional condition, we block logging until we have a connection.

It is mostly a refactor with one additional condition. It was refactored this way so that:

It's logically simpler and less confusing
It allows for usage with other logging frameworks such as tracing if that is a path we go down

This is a quick fix in general, the reason we now parse the JSON before writing to the Sender rather than after is to keep the storage to a maximum fixed size. Before, we'd have messages that could be very large in the sender.

If we don't get a connection, we'll keep around our oldest logs until we do. Interesting. Is there another delta here? Besides 1024 -> 10K? Do we have data to suggest a proper upperbound?

For the proper upperbound, I can't tell you what the concurrent writes are. Our metrics are at the smallest minutely metrics. At worst, we log from code ~2200 logs per minute, and at best we write to TCP ~800 logs per minute. That gives us roughly 7 minutes of backlog, at that highest rate. It seems to me we probably need another writer thread.
We do mostly write at ~1000 logs per minute. But our average TCP log write is ~200 or less logs per minute
Either way, it looks like we have roughly a 15% write failure on the logs in general :(
http://prometheus.premainnet.testnet.libra.org:9091/d/4Na_dsIMk/logging?orgId=1&from=now-12h&to=now

I would like to believe that we aren't bottlenecked on local processing and that a single thread should be able to easily saturate the logging network thread. At any rate, my only goal was to comment on the potential benefit of adding a doc block that describes the intention of the TcpWriter so other folks don't think they spot a bug when it is actually part of the implementation.

I hope this helps significantly and it won't be too much of a problem.  Been taking a 2 pronged approach of reducing unnecessary log noise, as well as increasing the capacity here


Feature/cache-locks

When requesting a specific entity from the database, only one request to the database per node is allowed. This dramatically improves reliability during heavy load.
For example: let's say that 1000 req/s are being processed by a Kong node, and suddenly an in-memory entity is being invalidated and Kong needs to read it again from the database. Before this PR Kong would open 1000req/s to the database until that entity is stored into memory again. With this PR, only one read request will be opened to the database (per node), and the other requests (on the same node) will just wait until it's finally in memory again.
This also helps the performance of new nodes that are being added to the cluster (whose load goes from 0 to 100 real quick).
Closes #264.

Fixed typos.

to be reopened against next