{"id":315449,"date":"2020-12-24T09:00:39","date_gmt":"2020-12-24T09:00:39","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=315449"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=315449","title":{"rendered":"\u0420\u0435\u0448\u0430\u0435\u043c \u043c\u0438\u043d\u0438-\u0438\u0433\u0440\u0443 \u043f\u0440\u043e \u0432\u0437\u043b\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0432 Cyberpunk 2077 \u0437\u0430 50 \u0441\u0442\u0440\u043e\u043a \u043d\u0430 Python"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_f\/yh\/gd\/_fyhgdqtmiv2v2dsgjbedauc71k.jpeg\" alt=\"image\"><\/div>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0442\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0435\u0441\u044c \u0438\u0433\u0440\u0430\u043c\u0438 \u0438 \u043d\u0435 \u043f\u0440\u043e\u0436\u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0432 \u0442\u0430\u0439\u0433\u0435, \u0442\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043e Cyberpunk 2077. \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u043b\u0433\u043e\u0433\u043e \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043e\u043d\u0430 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u044b\u0448\u043b\u0430! \u0418 \u0432 \u043d\u0435\u0439 \u0435\u0441\u0442\u044c \u043c\u0438\u043d\u0438-\u0438\u0433\u0440\u0430 \u043f\u0440\u043e \u0432\u0437\u043b\u043e\u043c! \u0418 \u0447\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0448\u044c \u0432 \u043d\u0435\u0439 \u043e\u0447\u043a\u043e\u0432, \u0442\u0435\u043c \u0446\u0435\u043d\u043d\u0435\u0435 \u043f\u0440\u0438\u0437! \u041c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043c\u0430\u0433\u0438\u044f Python \u0434\u0430\u0442\u044c \u043d\u0430\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u044d\u0442\u043e\u043c \u0436\u0435\u0441\u0442\u043e\u043a\u043e\u043c \u041d\u0435\u0442\u0435? \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0438\u043d\u0438-\u0438\u0433\u0440\u044b: \u0438\u0433\u0440\u043e\u043a\u0443 \u0434\u0430\u0451\u0442\u0441\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0438 \u043e\u0434\u043d\u0430 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0444\u0435\u0440 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b. \u0426\u0435\u043b\u044c \u0438\u0433\u0440\u043e\u043a\u0430 \u2014 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439, \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0437\u043b\u043e\u0432, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0443\u0444\u0435\u0440. \u041a\u0430\u0436\u0434\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0437\u043b\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0435 \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0445\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c N-\u043d\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446\/\u0441\u0442\u0440\u043e\u043a\u0443, \u0433\u0434\u0435 N \u2014 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0443\u0436\u0430\u0441\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/www.rockpapershotgun.com\/2020\/12\/14\/cyberpunk-2077-hacking-minigame-breach-protocol-explained\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<a name=\"habracut\"><\/a><\/p>\n<p>  \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0435 \u043f\u0443\u0442\u0438, \u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0447\u043a\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0431\u044b\u043b\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u043f\u0440\u0438 \u0435\u0433\u043e \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0438. \u041f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043e\u0447\u043a\u043e\u0432 \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u043e\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u0435\u043d. \u041e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0438\u0437 \u043c\u0438\u043d\u0438-\u0438\u0433\u0440 Cyberpunk \u0437\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434, \u0438 \u044d\u0442\u043e\u0433\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442! \u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u043d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438, \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0441\u0442 \u043f\u043e \u043c\u0435\u0440\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u0438\u0434\u0435\u0439 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438\u0433\u0440\u044b:<\/p>\n<ul>\n<li>\u041c\u0430\u0442\u0440\u0438\u0446\u0430 \u043a\u043e\u0434\u0430: \u043c\u043d\u043e\u0433\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f (\u0443\u0437\u043b\u044b) \u2014 \u00ab\u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435\u00bb\n<pre><code class=\"python\">code_matrix = [     [0x1c, 0xbd, 0x55, 0xe9, 0x55],      [0x1c, 0xbd, 0x1c, 0x55, 0xe9],     [0x55, 0xe9, 0xe9, 0xbd, 0xbd],     [0x55, 0xff, 0xff, 0x1c, 0x1c],     [0xff, 0xe9, 0x1c, 0xbd, 0xff] ]<\/code><\/pre>\n<\/li>\n<li>\u0411\u0443\u0444\u0435\u0440: \u0447\u0438\u0441\u043b\u043e, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0435\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c\u044b\u0445 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\n<pre><code class=\"python\">buffer_size = 7<\/code><\/pre>\n<\/li>\n<li>\u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430: \u0442\u043e\u0447\u043a\u0430 \u0432 \u043c\u0430\u0442\u0440\u0438\u0446\u0435 \u043a\u043e\u0434\u0430<\/li>\n<li>\u041f\u0443\u0442\u044c: \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\n<pre><code class=\"python\"># The same coordinate can't be chosen more than once per path class DuplicatedCoordinateException(Exception):     pass  # All paths match the following pattern: # [(0, a), (b, a), (b, c), (d, c), ...] class Path():     def __init__(self, coords=[]):         self.coords = coords      def __add__(self, other):         new_coords = self.coords + other.coords         if any(map(lambda coord: coord in self.coords, other.coords)):             raise DuplicatedCoordinateException()         return Path(new_coords)      def __repr__(self):         return str(self.coords)<\/code><\/pre>\n<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c: \u043f\u0443\u0442\u0438, \u0434\u0430\u044e\u0449\u0438\u0435 \u043f\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043d\u0430\u0433\u0440\u0430\u0434\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430\n<pre><code class=\"python\">sequences = [     [0x1c, 0x1c, 0x55],     [0X55, 0Xff, 0X1c],     [0xbd, 0xe9, 0xbd, 0x55],     [0x55, 0x1c, 0xff, 0xbd] ]<\/code><\/pre>\n<\/li>\n<li>\u041e\u0447\u043a\u0438: \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u043c \u043d\u0430\u0433\u0440\u0430\u0434\u0430\u043c\n<pre><code class=\"python\">class SequenceScore():      def __init__(self, sequence, buffer_size, reward_level=0):         self.max_progress = len(sequence)         self.sequence = sequence         self.score = 0         self.reward_level = reward_level         self.buffer_size = buffer_size      def compute(self, compare):         if not self.__completed():             if self.sequence[self.score] == compare:                 self.__increase()             else:                 self.__decrease()      # When the head of the sequence matches the targeted node, increase the score by 1     # If the sequence has been completed, set the score depending on the reward level     def __increase(self):         self.buffer_size -= 1         self.score += 1         if self.__completed():             # Can be adjusted to maximize either:             #   a) highest quality rewards, possibly lesser quantity             self.score = 10 ** (self.reward_level + 1)             #   b) highest amount of rewards, possibly lesser quality             # self.score = 100 * (self.reward_level + 1)      # When an incorrect value is matched against the current head of the sequence, the score is decreased by 1 (can't go below 0)     # If it's not possible to complete the sequence, set the score to a negative value depending on the reward      def __decrease(self):         self.buffer_size -= 1         if self.score &gt; 0:             self.score -= 1         if self.__completed():             self.score = -self.reward_level - 1      # A sequence is considered completed if no further progress is possible or necessary     def __completed(self):         return self.score &lt; 0 or self.score &gt;= self.max_progress or self.buffer_size &lt; self.max_progress - self.score  class PathScore():          def __init__(self, path, sequences, buffer_size):         self.score = None         self.path = path         self.sequence_scores = [SequenceScore(sequence, buffer_size, reward_level) for reward_level, sequence in enumerate(sequences)]          def compute(self): # Returns the sum of the individual sequence scores         if self.score != None:             return self.score         for row, column in self.path.coords:             for seq_score in self.sequence_scores:                 seq_score.compute(code_matrix[row][column])         self.score = sum(map(lambda seq_score: seq_score.score, self.sequence_scores))         return self.score<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>  \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0443\u0442\u0438 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 \u043e\u0431\u0445\u043e\u0434 \u0433\u0440\u0430\u0444\u0430 \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u0433\u043b\u0443\u0431\u0438\u043d\u0443. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0443\u0437\u043b\u044b \u0432\u0430\u0440\u044c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0445\u043e\u0434\u0430 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0443\u0437\u043b\u0430.<\/p>\n<pre><code class=\"python\"># Returns all possible paths with size equal to the buffer def generate_paths(buffer_size):     completed_paths = []      # Return next available row\/column for specified turn and coordinate.     # If it's the 1st turn the index is 0 so next_line would return the      # first row. For the second turn, it would return the nth column, with n     # being the coordinate's row     def candidate_coords(turn=0, coordinate=(0,0)):         if turn % 2 == 0:             return [(coordinate[0], column) for column in range(len(code_matrix))]         else:             return [(row, coordinate[1]) for row in range(len(code_matrix))]      # The stack contains all possible paths currently being traversed.     def _walk_paths(buffer_size, completed_paths, partial_paths_stack = [Path()], turn = 0, candidates = candidate_coords()):              path = partial_paths_stack.pop()                  for coord in candidates:             try:                 new_path = path + Path([coord])                          # Skip coordinate if it has already been visited             except DuplicatedCoordinateException:                 continue              # Full path is added to the final return list and removed from the partial paths stack             if len(new_path.coords) == buffer_size:                 completed_paths.append(new_path)              else: # Add new, lengthier partial path back into the stack                 partial_paths_stack.append(new_path)                  _walk_paths(buffer_size, completed_paths, partial_paths_stack, turn + 1, candidate_coords(turn + 1, coord))      _walk_paths(buffer_size, completed_paths)     return completed_paths<\/code><\/pre>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043a\u043e\u0434 \u0438 \u0443\u0431\u0435\u0434\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e. \u0425\u043e\u0442\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043c\u0438\u043d\u0438-\u0438\u0433\u0440 \u0441\u043e \u0432\u0437\u043b\u043e\u043c\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438\u043c\u0435\u044e\u0442 \u0440\u0430\u043d\u0434\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0432 \u043a\u0432\u0435\u0441\u0442\u0435 \u00abSpellbound\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435, \u0438 \u043d\u0430\u0438\u043b\u0443\u0447\u0448\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e. \u041e\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043e GamerJournalist:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fdb\/eaf\/498\/fdbeaf49800619c64d5b87075aafe264.webp\"><\/div>\n<p>  <\/p>\n<pre><code class=\"python\">paths = [(path, PathScore(path, sequences, buffer_size).compute()) for path in generate_paths(buffer_size)] max_path = max(paths, key=lambda path: path[1]) # [(0, 1), (2, 1), (2, 3), (1, 3), (1, 0), (4, 0), (4, 3)] -&gt; Should traverse 3rd and 4th sequences, finishes in ~3 seconds print(max_path[0])<\/code><\/pre>\n<p>  \u0423\u0441\u043f\u0435\u0445! \u0418\u0437 \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0431\u0443\u0444\u0435\u0440\u0430, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043c\u043e\u0433\u0443 \u043d\u0430\u0439\u0442\u0438 \u043f\u0443\u0442\u044c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0432\u0441\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043e \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0432\u0441\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043f\u0443\u0442\u044f\u043c \u0434\u043b\u0438\u043d\u043e\u0439 11.<\/p>\n<pre><code class=\"python\">buffer_size = 11 paths = [(path, PathScore(path, sequences, buffer_size).compute()) for path in generate_paths(buffer_size)] max_path = max(paths, key=lambda path: path[1])  # [(0, 0), (1, 0), (1, 3), (3, 3), (3, 1), (0, 1), (0, 3), (2, 3), (2, 0), (4, 0), (4, 2)] -&gt; Should traverse all sequences, finishes in ~40 seconds print(max_path[0], max_path[1])<\/code><\/pre>\n<p>  \u0425\u043e\u0440\u043e\u0448\u043e, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0439\u043c\u0451\u043c\u0441\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439! \u0411\u0443\u0434\u0435\u043c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u0438\u043d \u043f\u0443\u0442\u044c \u0441 \u043d\u0435\u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043e\u0447\u043a\u043e\u0432. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u0442\u044c \u043e\u0431\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438, \u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0447\u043a\u043e\u0432 (\u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0431\u0443\u0444\u0435\u0440\u0430 \u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u0445\u043e\u0434\u043e\u043c) \u043c\u0435\u043d\u044c\u0448\u0435 0.<\/p>\n<pre><code class=\"python\">def generate_paths(...):     ...     def _walk_paths(...):     ...                  # Full path is added to the final return list and removed from the partial paths stack                 if len(new_path.coords) == buffer_size:                     completed_paths.append(new_path)                 # If the partial path score is already lower than 0 we should be able to safely stop traversing it                 elif PathScore(new_path, sequences, buffer_size).compute() &lt; 0:                     continue                 else: # Add new, lengthier partial path back into the stack                     partial_paths_stack.append(new_path)                      _walk_paths(buffer_size, completed_paths, partial_paths_stack, turn + 1, candidate_coords(turn + 1, coord))     ...<\/code><\/pre>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u043d\u043e\u0432\u043e \u0441 \u0431\u0443\u0444\u0435\u0440\u043e\u043c \u0434\u043b\u0438\u043d\u043e\u0439 7:<\/p>\n<pre><code class=\"python\">buffer_size = 7 paths = [(path, PathScore(path, sequences, buffer_size).compute()) for path in generate_paths(buffer_size)] max_path = max(paths, key=lambda path: path[1]) # [(0, 1), (2, 1), (2, 3), (1, 3), (1, 0), (4, 0), (4, 3)] -&gt; Should traverse 3rd and 4th sequences, finishes instantly print(max_path[0])<\/code><\/pre>\n<p>  \u0421\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e! \u041d\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u043d\u043e \u0431\u0443\u0444\u0435\u0440 \u0434\u043b\u0438\u043d\u043e\u0439 7 \u0443\u0436\u0435 \u0438 \u0442\u0430\u043a \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0440\u0443\u0434\u043d\u043e \u043e\u0449\u0443\u0442\u0438\u0442\u044c \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0435\u0442 \u0441\u0435\u0431\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0438 \u043f\u0443\u0442\u0438 \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043d\u0430\u0433\u0440\u0430\u0434\u043e\u0439.<\/p>\n<pre><code class=\"python\">buffer_size = 7 paths = [(path, PathScore(path, sequences, buffer_size).compute()) for path in generate_paths(buffer_size)] max_path = max(paths, key=lambda path: path[1]) # [(0, 0), (1, 0), (1, 3), (3, 3), (3, 1), (0, 1), (0, 3), (2, 3), (2, 0), (4, 0), (4, 2)] -&gt; Should traverse all sequences, finishes in ~13 seconds print(max_path[0])<\/code><\/pre>\n<p>  \u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u0438 \u0432 \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0434\u0432\u0443\u0445 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430. \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043f\u043b\u043e\u0445\u043e. \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0434\u0435\u043b\u044e \u0434\u043e\u043f\u043e\u043b\u043d\u044e \u043f\u043e\u0441\u0442. \u041d\u0443 \u0430 \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451. \u041f\u0440\u0438\u0441\u044b\u043b\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430\/\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u0434\u0430!<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/534662\/\"> https:\/\/habr.com\/ru\/post\/534662\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_f\/yh\/gd\/_fyhgdqtmiv2v2dsgjbedauc71k.jpeg\" alt=\"image\"><\/div>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0442\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0435\u0441\u044c \u0438\u0433\u0440\u0430\u043c\u0438 \u0438 \u043d\u0435 \u043f\u0440\u043e\u0436\u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0432 \u0442\u0430\u0439\u0433\u0435, \u0442\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043e Cyberpunk 2077. \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u043b\u0433\u043e\u0433\u043e \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043e\u043d\u0430 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u044b\u0448\u043b\u0430! \u0418 \u0432 \u043d\u0435\u0439 \u0435\u0441\u0442\u044c \u043c\u0438\u043d\u0438-\u0438\u0433\u0440\u0430 \u043f\u0440\u043e \u0432\u0437\u043b\u043e\u043c! \u0418 \u0447\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0448\u044c \u0432 \u043d\u0435\u0439 \u043e\u0447\u043a\u043e\u0432, \u0442\u0435\u043c \u0446\u0435\u043d\u043d\u0435\u0435 \u043f\u0440\u0438\u0437! \u041c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043c\u0430\u0433\u0438\u044f Python \u0434\u0430\u0442\u044c \u043d\u0430\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u044d\u0442\u043e\u043c \u0436\u0435\u0441\u0442\u043e\u043a\u043e\u043c \u041d\u0435\u0442\u0435? \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0438\u043d\u0438-\u0438\u0433\u0440\u044b: \u0438\u0433\u0440\u043e\u043a\u0443 \u0434\u0430\u0451\u0442\u0441\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0438 \u043e\u0434\u043d\u0430 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0444\u0435\u0440 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b. \u0426\u0435\u043b\u044c \u0438\u0433\u0440\u043e\u043a\u0430 \u2014 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439, \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0437\u043b\u043e\u0432, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0443\u0444\u0435\u0440. \u041a\u0430\u0436\u0434\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0437\u043b\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0435 \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0445\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c N-\u043d\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446\/\u0441\u0442\u0440\u043e\u043a\u0443, \u0433\u0434\u0435 N \u2014 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0443\u0436\u0430\u0441\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/www.rockpapershotgun.com\/2020\/12\/14\/cyberpunk-2077-hacking-minigame-breach-protocol-explained\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-315449","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=315449"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315449\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}