From 1a849ee7f01fa7248559d3fcfa9a9ca04f7f045f Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 30 Jan 2019 19:55:19 +0800 Subject: [PATCH 01/15] Add CC-BY-4 license --- LICENSE | 317 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4d68d74 --- /dev/null +++ b/LICENSE @@ -0,0 +1,317 @@ +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. \ No newline at end of file From 872b21f4f385052630b915e0bd8c310d97ef5c24 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 30 Jan 2019 20:00:43 +0800 Subject: [PATCH 02/15] Add license --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6b1bcdb..f188ad1 100644 --- a/README.md +++ b/README.md @@ -512,3 +512,5 @@ HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否 * [Golang for range 的坑](https://studygolang.com/articles/9701) 有两轮面试都涉及到了这个话题,这里贴一下; (全文完) + +[*License under CC-BY-4.0: 署名-非商业使用-禁止演绎*](https://creativecommons.org/licenses/by/4.0/deed.zh) From 8c1dbbcb5b813104cba7aaac43c8f213b9eb4db6 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 30 Jan 2019 20:02:42 +0800 Subject: [PATCH 03/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f188ad1..b9c1e33 100644 --- a/README.md +++ b/README.md @@ -513,4 +513,4 @@ HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否 (全文完) -[*License under CC-BY-4.0: 署名-非商业使用-禁止演绎*](https://creativecommons.org/licenses/by/4.0/deed.zh) +[*License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎*](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh) From cac0108e6660f53d09aafbacdaf39027e9b06f00 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 30 Jan 2019 20:06:12 +0800 Subject: [PATCH 04/15] Update license --- LICENSE | 562 +++++++++++++++++++++++++------------------------------- 1 file changed, 248 insertions(+), 314 deletions(-) diff --git a/LICENSE b/LICENSE index 4d68d74..02fe94a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,317 +1,251 @@ -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution 4.0 International Public License ("Public License"). To the -extent this Public License may be interpreted as a contract, You are -granted the Licensed Rights in consideration of Your acceptance of -these terms and conditions, and the Licensor grants You such rights in -consideration of benefits the Licensor receives from making the +Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be +bound by the terms and conditions of this Creative Commons +Attribution-NonCommercial-NoDerivatives 4.0 International Public License +("Public License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You such +rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part; and - - b. produce, reproduce, and Share Adapted Material. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights + that is derived from or based upon the Licensed Material and in which + the Licensed Material is translated, altered, arranged, transformed, or + otherwise modified in a manner requiring permission under the Copyright + and Similar Rights held by the Licensor. For purposes of this Public + License, where the Licensed Material is a musical work, performance, or + sound recording, Adapted Material is always produced where the Licensed + Material is synched in timed relation with a moving image. + b. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or categorized. + For purposes of this Public License, the rights specified in Section + 2(b)(1)-(2) are not Copyright and Similar Rights. + c. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright Treaty + adopted on December 20, 1996, and/or similar international agreements. + d. Exceptions and Limitations means fair use, fair dealing, and/or any + other exception or limitation to Copyright and Similar Rights that + applies to Your use of the Licensed Material. + e. Licensed Material means the artistic or literary work, database, or + other material to which the Licensor applied this Public License. + f. Licensed Rights means the rights granted to You subject to the terms + and conditions of this Public License, which are limited to all + Copyright and Similar Rights that apply to Your use of the Licensed + Material and that the Licensor has authority to license. + g. Licensor means the individual(s) or entity(ies) granting rights under + this Public License. + h. NonCommercial means not primarily intended for or directed towards + commercial advantage or monetary compensation. For purposes of this + Public License, the exchange of the Licensed Material for other + material subject to Copyright and Similar Rights by digital + file-sharing or similar means is NonCommercial provided there is no + payment of monetary compensation in connection with the exchange. + i. Share means to provide material to the public by any means or process + that requires permission under the Licensed Rights, such as + reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the public + may access the material from a place and at a time individually chosen + by them. + j. Sui Generis Database Rights means rights other than copyright resulting + from Directive 96/9/EC of the European Parliament and of the Council of + 11 March 1996 on the legal protection of databases, as amended and/or + succeeded, as well as other essentially equivalent rights anywhere in + the world. + k. You means the individual or entity exercising the Licensed Rights under + this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, the + Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to exercise + the Licensed Rights in the Licensed Material to: + A. reproduce and Share the Licensed Material, in whole or in part, + for NonCommercial purposes only; and + B. produce and reproduce, but not Share, Adapted Material for + NonCommercial purposes only. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public License + does not apply, and You do not need to comply with its terms and + conditions. + 3. Term. The term of this Public License is specified in Section 6(a). + 4. Media and formats; technical modifications allowed. The Licensor + authorizes You to exercise the Licensed Rights in all media and + formats whether now known or hereafter created, and to make + technical modifications necessary to do so. The Licensor waives + and/or agrees not to assert any right or authority to forbid You + from making technical modifications necessary to exercise the + Licensed Rights, including technical modifications necessary to + circumvent Effective Technological Measures. For purposes of this + Public License, simply making modifications authorized by this + Section 2(a)(4) never produces Adapted Material. + 5. Downstream recipients. + A. Offer from the Licensor – Licensed Material. Every recipient of + the Licensed Material automatically receives an offer from the + Licensor to exercise the Licensed Rights under the terms and + conditions of this Public License. + B. No downstream restrictions. You may not offer or impose any + additional or different terms or conditions on, or apply any + Effective Technological Measures to, the Licensed Material if + doing so restricts exercise of the Licensed Rights by any + recipient of the Licensed Material. + 6. No endorsement. Nothing in this Public License constitutes or may + be construed as permission to assert or imply that You are, or that + Your use of the Licensed Material is, connected with, or sponsored, + endorsed, or granted official status by, the Licensor or others + designated to receive attribution as provided in Section + 3(a)(1)(A)(i). + + b. Other rights. + 1. Moral rights, such as the right of integrity, are not licensed + under this Public License, nor are publicity, privacy, and/or other + similar personality rights; however, to the extent possible, the + Licensor waives and/or agrees not to assert any such rights held by + the Licensor to the limited extent necessary to allow You to + exercise the Licensed Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this Public + License. + 3. To the extent possible, the Licensor waives any right to collect + royalties from You for the exercise of the Licensed Rights, whether + directly or through a collecting society under any voluntary or + waivable statutory or compulsory licensing scheme. In all other + cases the Licensor expressly reserves any right to collect such + royalties, including when the Licensed Material is used other than + for NonCommercial purposes. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material, You must: + A. retain the following if it is supplied by the Licensor with the + Licensed Material: + i. identification of the creator(s) of the Licensed Material + and any others designated to receive attribution, in any + reasonable manner requested by the Licensor (including by + pseudonym if designated); ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. \ No newline at end of file + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of warranties; + v. a URI or hyperlink to the Licensed Material to the extent + reasonably practicable; + B. indicate if You modified the Licensed Material and retain an + indication of any previous modifications; and + C. indicate the Licensed Material is licensed under this Public + License, and include the text of, or the URI or hyperlink to, + this Public License. + + For the avoidance of doubt, You do not have permission under this + Public License to Share Adapted Material. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable + manner based on the medium, means, and context in which You Share + the Licensed Material. For example, it may be reasonable to satisfy + the conditions by providing a URI or hyperlink to a resource that + includes the required information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent reasonably + practicable. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to +Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to + extract, reuse, reproduce, and Share all or a substantial portion of + the contents of the database for NonCommercial purposes only and + provided You do not Share Adapted Material; + b. if You include all or a substantial portion of the database contents in + a database in which You have Sui Generis Database Rights, then the + database in which You have Sui Generis Database Rights (but not its + individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share all or + a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not replace +Your obligations under this Public License where the Licensed Rights include +other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent + possible, the Licensor offers the Licensed Material as-is and + as-available, and makes no representations or warranties of any kind + concerning the Licensed Material, whether express, implied, statutory, + or other. This includes, without limitation, warranties of title, + merchantability, fitness for a particular purpose, non-infringement, + absence of latent or other defects, accuracy, or the presence or + absence of errors, whether or not known or discoverable. Where + disclaimers of warranties are not allowed in full or in part, this + disclaimer may not apply to You. + b. To the extent possible, in no event will the Licensor be liable to You + on any legal theory (including, without limitation, negligence) or + otherwise for any direct, special, indirect, incidental, consequential, + punitive, exemplary, or other losses, costs, expenses, or damages + arising out of this Public License or use of the Licensed Material, + even if the Licensor has been advised of the possibility of such + losses, costs, expenses, or damages. Where a limitation of liability is + not allowed in full or in part, this limitation may not apply to You. + c. The disclaimer of warranties and limitation of liability provided above + shall be interpreted in a manner that, to the extent possible, most + closely approximates an absolute disclaimer and waiver of all + liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar + Rights licensed here. However, if You fail to comply with this Public + License, then Your rights under this Public License terminate + automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided it is + cured within 30 days of Your discovery of the violation; or + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any right + the Licensor may have to seek remedies for Your violations of this + Public License. + + c. For the avoidance of doubt, the Licensor may also offer the Licensed + Material under separate terms or conditions or stop distributing the + Licensed Material at any time; however, doing so will not terminate + this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or + conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the Licensed + Material not stated herein are separate from and independent of the + terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not + be interpreted to, reduce, limit, restrict, or impose conditions on any + use of the Licensed Material that could lawfully be made without + permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the minimum + extent necessary to make it enforceable. If the provision cannot be + reformed, it shall be severed from this Public License without + affecting the enforceability of the remaining terms and conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the Licensor. + d. Nothing in this Public License constitutes or may be interpreted as a + limitation upon, or waiver of, any privileges and immunities that apply + to the Licensor or You, including from the legal processes of any + jurisdiction or authority. \ No newline at end of file From 92616b6beffafcb01de03c54a64db390531e8696 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Thu, 31 Jan 2019 11:57:56 +0800 Subject: [PATCH 05/15] Fix typo and, thank you all you guys --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b9c1e33..d1c4ed8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ # 准备过程 -我自己是本科毕业后再老东家干了两年多,老东家算是一家"小公司"(毕竟这年头没有 BAT 或 TMD 的 title 都不好意思报出身),毕业这两年多我也没有在大厂待过,因此找坑的时候是非常非常虚的。迫于心慌,我好好思考了一阵来给自己打气,当时真正找坑和准备面试的过程大概分为这几个阶段: +我自己是本科毕业后在老东家干了两年多,老东家算是一家"小公司"(毕竟这年头没有 BAT 或 TMD 的 title 都不好意思报出身),毕业这两年多我也没有在大厂待过,因此找坑的时候是非常非常虚的。迫于心慌,我好好思考了一阵来给自己打气,当时真正找坑和准备面试的过程大概分为这几个阶段: - 反思:自己是不是真的要离职,假如不离职,在老东家接下来应该做什么才能继续提升? - 定位:我在硬性技能(编码、架构)上的长处在哪?我在软技能(沟通,团队)上的长处在哪?这步顺带写了简历 @@ -22,7 +22,7 @@ `定位`这一步其实花了好几天时间,我先是梳理了自己的项目经历和工作内容的专长,把 Java + Golang,做过的面比较广(业务,中间件,基础架构都做过)以及对 k8s 云原生有专长和兴趣作为自己的"硬招牌"。然后把学习能力强,喜欢沟通合作,渴望挑战作为我的"软招牌",最后把自己定位成一个"在过往经历中展现出了过人学习能力和钻研能力,同时渴望挑战,不愿意呆在舒适区"的形象(妈呀打这段话的时候太羞耻了!!!)。 -这个过程中,我的方法论是"换位思考"。我自己也面试过不少人(所以平时公司让我去面试,虽然累点苦点,但也都是积累呀),并且也和 HR 以及放出 HC 的业务方聊过我们希望放什么样的人进来。因此全程都在以面试官的心态来考察自己: +这个过程中,我的方法论是"换位思考"。自己过去也面试过不少人(所以平时公司让我去面试,虽然累点苦点,但也都是积累呀),并且也和 HR 以及放出 HC 的业务方聊过我们希望放什么样的人进来。因此全程都在以面试官的心态来考察自己: > 假如我是面试官,我会招怎样的人进来做我的同事? @@ -457,7 +457,7 @@ HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否 - 假如用 id 翻页的方式, 数据库表如何设计? 索引如何设计? - (文章id, 评论id) 建联合索引,评论 id 需递增 - 假如量很大, 你觉得需要分库分表吗? 怎么分? - - 需要分,分表有个权衡,按文章 id 分表,读逻辑简单,但写有热点问题;按评论 id 分表,读逻辑复杂,但写压力就平均了。写是要首先保证的,而读总是有缓存等方案来折中,因此按平均 id 分表好。 + - 需要分,分表有个权衡,按文章 id 分表,读逻辑简单,但写有热点问题;按评论 id 分表,读逻辑复杂,但写压力就平均了。写是要首先保证的,而读总是有缓存等方案来折中,因此按评论 id 分表好。 - 分库分表后怎么查询分页? - 每张表查 N 条数据由 client 或 proxy merge - 分库分表后怎么保证主键仍然是递增的? @@ -511,6 +511,8 @@ HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否 * 算法相关,这部分我纯鶸,说实话我觉得大学里那本教材《数据结构与算法分析》就写得很不错...至于 leetcode,面试前没有刷过,最近为了练习 Rust 刷了60多题,并没有碰到面试里出现过的题目,看起来要刷 leetcode 的话就得走量多刷点,刷的少纯拼强运了; * [Golang for range 的坑](https://studygolang.com/articles/9701) 有两轮面试都涉及到了这个话题,这里贴一下; +这篇面经的热度完全超出了我的预期,非常感谢大家的 star 鼓励! + (全文完) [*License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎*](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh) From 7401bfc0bd10173bc5425c04b37117f45b279cfc Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Thu, 31 Jan 2019 20:10:44 +0800 Subject: [PATCH 06/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1c4ed8..641dc8e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ * **什么样的行为会让我"讨厌一份简历"**:把每个项目都大写特写,尤其是陈述细节没有重点;罗列框架当能力,用过了一类场景的框架就觉得能解决一类业务诸如此类; * **面试的时候我会偏向于问哪些问题**?一是简历上写了"理解"或"精通"的语言与中间件;二是简历上写得比较有趣,又没有完全交代清楚的项目; -`定位`之后,我要找的下一个位置基本锁定在了 PaaS、云原生、中间件方向。那接下来就是找坑了,这段时间"寒冬论"炒的火热,好坑确实挺难找,最后兜兜转转找了四家的内推:Shopee(新加坡)、PingCAP、头条、蚂蚁。Shopee 那边挺遗憾的,12月初投完简历1月初才收到答复约面,而当时另几家面试已经临近尾声,于是选择了推掉。 +`定位`之后,我要找的下一个位置基本锁定在了 PaaS、云原生、中间件方向。那接下来就是找坑了,这段时间"寒冬论"炒的火热,好坑确实挺难找,最后兜兜转转找了四家的内推:Shopee(新加坡)、PingCAP、头条、蚂蚁。Shopee 那边挺遗憾的,12月初投完简历后在1月初进行的第一轮 HR Screen,而当时另几家面试已经临近尾声,于是选择了推掉,后来确认是12月 Shopee 正好在休假,会说中文的 HR 都恰好不在,这也算是机缘巧合了😆Shopee 给我的感觉(虽然只有一面)是非常为员工考虑,HR 小姐姐很客观地帮我梳理了很多去新加坡会带来的利弊得失。大家假如对 Shopee 感兴趣,浩松老师 [@haosdent](https://github.com/haosdent) 本人就出现在了 issue 区,可以去找找看😆 这几家的简历投递出去之后,我着重把简历里"埋的几个坑",也就是自己写了"理解并掌握"的语言与中间件以及专门用来勾引面试官问的项目好好复习了一遍。事后发现这一步还挺关键的,很多知识性的内容要是不复习一下真就全忘了,这也算临阵磨枪,不快也光了吧。 From 6b32623bd14ea1ec6b9a69c23bc46a6aaac20652 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Thu, 31 Jan 2019 20:42:27 +0800 Subject: [PATCH 07/15] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 641dc8e..ff647eb 100644 --- a/README.md +++ b/README.md @@ -305,12 +305,13 @@ PingCAP 的简历响应是最快的,内推之后第二天 HR 小姐姐就联 - 面试官:我们觉得你做过的东西挺多的,各个方向都想让你尝试一下 (我的内心:......) - 我:那这轮是最后一轮技术面吗? - 面试官:不一定(我的内心:......) +- 后续还问了面试官一些业务相关的问题,就不赘述了 五面最后的三个吹水问题我还挺感兴趣,可惜面试官只是听我讲,没有跟我讨论。还有就是问了面试官才知道,二面四面的面试官是 PaaS 平台那边的,因此主要问 Java 没有涉及到 k8s 和 go。 ## 六面 -HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否适合阿里的风格),而且有一票否决权。所以还是挺有压力的。 +HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是否适合阿里的风格),而且有一票否决权。所以还是挺有压力的。 - 问经历 - 为什么要考虑出来看看呢? @@ -335,7 +336,7 @@ HR 面,之前就听说过阿里系的 HR 是来"闻味道的"(看你是否 * 面试体验:正常 * 问题偏向:基础知识,开发常识,技术见解 -蚂蚁的面试风格比较"高冷"。面试内容上对基础知识看得挺重,没有偏门和猎奇的问题,基础知识扎实的同学可以大胆投投看蚂蚁。 +蚂蚁的面试风格比较"高冷",面试官给我的一致感受就是很强,卧虎藏龙。面试内容上在基础知识部分相对考察得多一些,没有偏门和猎奇的问题,基础知识扎实的同学可以大胆投投看蚂蚁。 # 头条 From 6135ede132ea8af6f1cda1a53c67800021edbdc4 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 6 Feb 2019 21:52:52 +0800 Subject: [PATCH 08/15] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff647eb..c2f45ce 100644 --- a/README.md +++ b/README.md @@ -425,7 +425,7 @@ HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是 - 查 A in () AND B in () 时, MySQL 是怎么利用索引的? - 先走一个非聚簇索引,查询出行数据后再用另一列回表做筛选 - 假如查询 A in (), MySQL 是针对 N 个值分别查一次索引, 还是有更好的操作? - - 不知道,有了解的同学可以留言 + - 不知道,有了解的同学可以留言 (补充, [@BillyLu]() 贴出了文档 [equality-range-optimization](https://dev.mysql.com/doc/refman/8.0/en/range-optimization.html#equality-range-optimization), 大意是对非唯一索引 MySQL 会使用 index dive 的方式估算这个 range index 涉及的行数, 结合[where optimization](https://dev.mysql.com/doc/refman/5.7/en/where-optimization.html) 中说明的在走 index 时假如涉及行数过多会走 full table scan, 那么假如 estimation 认为这次 IN 不够好, 是会走全表扫描的. 不知道除此之外, 面试官还有没有想考察的点) - 用过 Redis 的哪几种数据结构? (都用过) ZSET 是怎么实现的? - 跳表 - zrange start, stop, 总长度为 n, 复杂度是多少? @@ -512,7 +512,7 @@ HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是 * 算法相关,这部分我纯鶸,说实话我觉得大学里那本教材《数据结构与算法分析》就写得很不错...至于 leetcode,面试前没有刷过,最近为了练习 Rust 刷了60多题,并没有碰到面试里出现过的题目,看起来要刷 leetcode 的话就得走量多刷点,刷的少纯拼强运了; * [Golang for range 的坑](https://studygolang.com/articles/9701) 有两轮面试都涉及到了这个话题,这里贴一下; -这篇面经的热度完全超出了我的预期,非常感谢大家的 star 鼓励! +repo 关闭了 issue 功能, 您可以在 [我的博客](https://aylei.github.io/blog/interview-experience/) 中进行相关讨论(不过目前 heading anchor 还没加上, 阅读体验不如 github 的 md), 也可以直接通过我的邮箱(见 profile)进行交流, 感谢您耐心地看完全文! (全文完) From df897786a8d99ea371abdc49b70f800856a4fabe Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Wed, 6 Feb 2019 21:53:39 +0800 Subject: [PATCH 09/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c2f45ce..c7bbde4 100644 --- a/README.md +++ b/README.md @@ -425,7 +425,7 @@ HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是 - 查 A in () AND B in () 时, MySQL 是怎么利用索引的? - 先走一个非聚簇索引,查询出行数据后再用另一列回表做筛选 - 假如查询 A in (), MySQL 是针对 N 个值分别查一次索引, 还是有更好的操作? - - 不知道,有了解的同学可以留言 (补充, [@BillyLu]() 贴出了文档 [equality-range-optimization](https://dev.mysql.com/doc/refman/8.0/en/range-optimization.html#equality-range-optimization), 大意是对非唯一索引 MySQL 会使用 index dive 的方式估算这个 range index 涉及的行数, 结合[where optimization](https://dev.mysql.com/doc/refman/5.7/en/where-optimization.html) 中说明的在走 index 时假如涉及行数过多会走 full table scan, 那么假如 estimation 认为这次 IN 不够好, 是会走全表扫描的. 不知道除此之外, 面试官还有没有想考察的点) + - 不知道,有了解的同学可以留言 (补充, [@BillyLu](https://github.com/BillyLu) 贴出了文档 [equality-range-optimization](https://dev.mysql.com/doc/refman/8.0/en/range-optimization.html#equality-range-optimization), 大意是对非唯一索引 MySQL 会使用 index dive 的方式估算这个 range index 涉及的行数, 结合[where optimization](https://dev.mysql.com/doc/refman/5.7/en/where-optimization.html) 中说明的在走 index 时假如涉及行数过多会走 full table scan, 那么假如 estimation 认为这次 IN 不够好, 是会走全表扫描的. 不知道除此之外, 面试官还有没有想考察的点) - 用过 Redis 的哪几种数据结构? (都用过) ZSET 是怎么实现的? - 跳表 - zrange start, stop, 总长度为 n, 复杂度是多少? From 0787c5d35dbd809c470317470028dadbfc81bac6 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Thu, 14 Feb 2019 13:25:56 +0800 Subject: [PATCH 10/15] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7bbde4..bfc531c 100644 --- a/README.md +++ b/README.md @@ -385,8 +385,8 @@ HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是 - 在 Redis 里存储每个 API 的令牌桶 key,假如存在这个 key,则需要按上述逻辑进行限流 - 某一个业务中现在需要生成全局唯一的递增 ID, 并发量非常大, 怎么做 - snowflake (这个其实答得不好,snowflake 无法实现全局递增,只能实现全局唯一,单机递增,面试结束后就想到了类似 TDDL 那样一次取一个 ID 段,放在本地慢慢分配的策略) -- 算法题, M*N 横向递增矩阵找指定数 - - 只想到 O(M+N)的解法 +- 算法题, M*N 横向纵向均递增的矩阵找指定数 + - 只想到 O(M+N)的解法 **补充**: 这几天刷 leetcode 碰到这题了, [240. Search a 2D Matrix II](https://leetcode.com/problems/search-a-2d-matrix-ii/). 办法是从左下角或右下角开始查找. - 有什么想问我的? 限流,分布式锁,UUID 都属于后端的经典面试题,这轮面试的参考价值挺大的。 From 0fbc867bcaf4ccec60b20cd4b9135d11ccbcd322 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Fri, 8 Mar 2019 11:01:13 +0800 Subject: [PATCH 11/15] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bfc531c..bb1a94f 100644 --- a/README.md +++ b/README.md @@ -514,6 +514,12 @@ HR 面,之前就**听说**过阿里系的 HR 是来"闻味道的"(看你是 repo 关闭了 issue 功能, 您可以在 [我的博客](https://aylei.github.io/blog/interview-experience/) 中进行相关讨论(不过目前 heading anchor 还没加上, 阅读体验不如 github 的 md), 也可以直接通过我的邮箱(见 profile)进行交流, 感谢您耐心地看完全文! +**补充** + +笔者最后去了 PingCAP, 原因也很简单, **大公司的想去总是随时有机会去的, 而登上 Rocketship 的机会可不多** + +这里也打个广告, 假如想一起来搞 [TiDB](https://github.com/pingcap/tidb), 欢迎发送简历到 wuyelei@pingcap.com, 我帮您内推😆(多嘴提一个邮件礼仪的小建议: 标题一定要写清楚😂) + (全文完) [*License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎*](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh) From b28c72d4f35feaf58b1dddf883eaeae3f6fdcce3 Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Fri, 8 Mar 2019 11:01:41 +0800 Subject: [PATCH 12/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb1a94f..73840a8 100644 --- a/README.md +++ b/README.md @@ -516,7 +516,7 @@ repo 关闭了 issue 功能, 您可以在 [我的博客](https://aylei.github.io **补充** -笔者最后去了 PingCAP, 原因也很简单, **大公司的想去总是随时有机会去的, 而登上 Rocketship 的机会可不多** +笔者最后去了 PingCAP, 原因也很简单, **大公司想去总是能找到机会去的, 而登上 Rocketship 的机会可不多** 这里也打个广告, 假如想一起来搞 [TiDB](https://github.com/pingcap/tidb), 欢迎发送简历到 wuyelei@pingcap.com, 我帮您内推😆(多嘴提一个邮件礼仪的小建议: 标题一定要写清楚😂) From 00f654bc0514a955730048f6a5e9999ccc11aefb Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Mon, 11 Mar 2019 19:42:21 +0800 Subject: [PATCH 13/15] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73840a8..c3cf431 100644 --- a/README.md +++ b/README.md @@ -518,7 +518,9 @@ repo 关闭了 issue 功能, 您可以在 [我的博客](https://aylei.github.io 笔者最后去了 PingCAP, 原因也很简单, **大公司想去总是能找到机会去的, 而登上 Rocketship 的机会可不多** -这里也打个广告, 假如想一起来搞 [TiDB](https://github.com/pingcap/tidb), 欢迎发送简历到 wuyelei@pingcap.com, 我帮您内推😆(多嘴提一个邮件礼仪的小建议: 标题一定要写清楚😂) +这里也打个广告, 假如想一起来搞 [TiDB](https://github.com/pingcap/tidb), 欢迎发送简历到 wuyelei@pingcap.com, 我帮您内推😆(多嘴提一个邮件礼仪的小建议: 标题一定要写清楚😂), 这里是 [相关JD](https://www.pingcap.com/recruit-cn/engineering/bizdev-cloud-engineer/) + +另外, 蚂蚁的 Kubernetes 调度部门也在招人(社招校招都有), Leader 是我一个很靠谱的学长, 大家可以直接发送简历到 tongkai.ytk@antfin.com 内推. [相关 JD](./docs/antfin_k8s_jd.md) (全文完) From 119fa142acccfca3e4d6bfc03322c23f67b77a06 Mon Sep 17 00:00:00 2001 From: Aylei Date: Mon, 11 Mar 2019 19:45:28 +0800 Subject: [PATCH 14/15] Add antfin k8s scheduling jd --- docs/antfin_k8s_jd.md | 67 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 docs/antfin_k8s_jd.md diff --git a/docs/antfin_k8s_jd.md b/docs/antfin_k8s_jd.md new file mode 100644 index 0000000..13aa921 --- /dev/null +++ b/docs/antfin_k8s_jd.md @@ -0,0 +1,67 @@ +# 社招JD + +## 职位名称 + +蚂蚁金服容器资源调度专家 + +## 岗位描述 + +蚂蚁 Sigma 平台为蚂蚁金服上层业务提供标准容器服务和全局资源动态分配,调度节点单集群规模超过万台,同时致力于在系统、业务多个层面,包括 os/kernel、容器/PaaS、智能调度/仿真容量等进行技术突破,提高容器系统规模化的资源利用效率,降低大促等各种大规模复杂业务场景下的资源成本,打造智能、高效、稳定的金融级基础系统,助力蚂蚁科技金融。 + +## 职位职责 + +负责蚂蚁金服容器调度体系设计和研发 + +1. 设计和实现大规模、高效、智能的基于 Kubernetes 平台的新一代调度体系 +2. 提高资源利用效率,降低成本,设计和研发混部、VPA、cpushare 等技术 +3. 建设智能调度,结合动态运行数据、深度学习、强化学习等技术打造下一代智能化、可视化的调度技术 +4. 支持计算类、大数据类、机器学习/深度学习等业务的资源调度,设计和研发高并发、低延迟、大规模的调度技术 + +## 能力要求 + +1. 熟练掌握 Golang 语言开发,具备 Python、Java 等其他一种或多种语言开发经验 +2. 熟悉 Kubernetes/Docker 生态,熟练掌握 Kubernetes/容器调度相关技术和相关项目代码实现 +3. 对 Linux 系统有深入的理解,特别对 cgroup、cpu share、memory share 等资源相关技术有相关经验者优先 +4. 具备一定的生产运维经验,熟悉 DevOps 研发流程 +5. 具备较强的团队沟通协作能力、自驱力和技术热情,具备实际的项目落地经验 + +## 额外加分 + +1. 有大规模集群资源利用率提升经验者额外加分 +2. 有贡献 Kubernetes/Docker 相关开源项目者额外加分 +3. 有其他 YARN、Mesos 和 Swarm 等平台调度技术研发经验者额外加分 +4. 有搜索算法和数据分析经验者会有额外加分 +5. 有 AI & MachineLearning on Kubernetes 经验者额外加分 + +# 校招JD + +## 职位名称 + +蚂蚁金服 - 资源调度研发工程师 & 实习研发工程师 + +岗位技术挑战 + +大规模云集群的高效调度和资源利用 + +## 职位描述 + +负责蚂蚁金服大规模云集群调度和资源体系设计和研发 + +1. 设计和实现大规模、高效、智能的基于 Kubernetes 平台的新一代调度体系 +2. 提高资源利用效率、降低成本,设计和研发混部、VPA、cpushare 等技术 +3. 建设智能调度,结合动态运行数据、深度学习、强化学习等技术打造下一代智能化、可视化的调度技术 +4. 支持计算类、大数据类、机器学习/深度学习等业务的资源调度,设计和研发高并发、低延迟、大规模的调度技术 + +## 职位要求 + +1. 熟练掌握至少一种以上面向对象设计语言,如golang、java、python +2. 了解 Kubernetes/Docker 生态、具有一定的云计算概念基础 +3. 对linux操作系统有一定的使用经验 +4. 乐观开朗、积极向上 + +## 额外加分 + +1. 有Kubernetes使用经验者额外加分 +2. 有云计算、云原生开源社区贡献经验者额外加分 +3. 研究方向在云计算、调度和搜索算法、资源利用率提升者额外加分 +4. 有云计算领域数据分析和机器学习相关经验者额外加分 \ No newline at end of file From d09aff9c5dd1be27435b179b2f291c812993431a Mon Sep 17 00:00:00 2001 From: Yeh-lei Wu Date: Mon, 11 Mar 2019 19:47:09 +0800 Subject: [PATCH 15/15] Update antfin_k8s_jd.md --- docs/antfin_k8s_jd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/antfin_k8s_jd.md b/docs/antfin_k8s_jd.md index 13aa921..7c8108c 100644 --- a/docs/antfin_k8s_jd.md +++ b/docs/antfin_k8s_jd.md @@ -39,7 +39,7 @@ 蚂蚁金服 - 资源调度研发工程师 & 实习研发工程师 -岗位技术挑战 +## 岗位技术挑战 大规模云集群的高效调度和资源利用 @@ -64,4 +64,4 @@ 1. 有Kubernetes使用经验者额外加分 2. 有云计算、云原生开源社区贡献经验者额外加分 3. 研究方向在云计算、调度和搜索算法、资源利用率提升者额外加分 -4. 有云计算领域数据分析和机器学习相关经验者额外加分 \ No newline at end of file +4. 有云计算领域数据分析和机器学习相关经验者额外加分