{"id":3336,"date":"2014-03-23T02:21:26","date_gmt":"2014-03-23T02:21:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/pythonpygamedocumentationrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-03-23T02:21:26","modified_gmt":"2014-03-23T02:21:26","slug":"pythonpygamedocumentationrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/pythonpygamedocumentationrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"python,pygame,documentationRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bcc5cb726add8e1049e49b056ff2dfd9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntkf<br \/>\npython<br \/>\nI know what double underscore means for Python class attributes\/methods, but does it mean something for method argument?It looks like you cannot pass argument starting with double underscore to methods. It is confusing because you can do that for normal functions.Consider this script:def egg(__a=None):return __aprint &#8220;egg(1) =&#8221;, print egg(1) printclass Spam(object):def egg(self, __a=None):return __aprint &#8220;Spam().egg(__a=1) =&#8221;, print Spam().egg(__a=1)Running this script yields:egg(1) = 1Spam().e<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/duS6r.jpg?s=32&amp;g=1\" \/><br \/>\nthefourtheye<br \/>\npython iterator generator<br \/>\nCan I reset an iterator \/ generator in Python? I am using DictReader and would like to reset it (from the csv module) to the beginning of the file.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b1c7f45607a17805543fd088385b8a83?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJames Lin<br \/>\npython django<br \/>\nLets say I want to get a record that match a value and I have 2 approaches to do it:First:try:obj = Model.objects.get(field = value) exceptpassSecond:if Model.objects.filter(field = value).count() &gt; 0:obj = Model.objects.filter(field_value)[0]Lets put the code comments aside,which way should I use or which one do you prefer to read? The first one seems faster because only 1 DB look up, but the second way seems a bit more readable, but requires 2 DB look ups.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8408dc6db91d8fb215fe805adc542c76?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCarlo Pires<br \/>\npython debugging assert<br \/>\nI&#8217;ve found python assert statement is a good way to catch situations that should never happen. And can be removed by python optimization when the code is trusted. It seems to be a perfect mechanism to run python applications in debug mode. But looking at several python projects like django, twisted and zope it is almost never used. So, why this happens?Why asserts statements is not largely used in python community?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0f59e09869c663ac9f5f5f87f758fcff?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nparxier<br \/>\npython comparison types operators logic<br \/>\nThis is somehow related to my question Why is &#8221;&gt;0 True in Python?In Python 2.6.4:&gt;&gt; Decimal(&#8216;0&#8217;) &gt; 9999.0 TrueFrom the answer to my original question I understand that when comparing objects of different types in Python 2.x the types are ordered by their name. But in this case:&gt;&gt; type(Decimal(&#8216;0&#8217;)).__name__ &gt; type(9999.0).__name__ FalseWhy is Decimal(&#8216;0&#8217;) &gt; 9999.0 == True then?UPDATE: I usually work on Ubuntu (Linux 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 20<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/adaa513a43f960202dd7d5f953b151c6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nwim<br \/>\npython list dictionary tuples hashable<br \/>\nI&#8217;m a bit confused about what can\/can&#8217;t be used as a key for a python dict. dicked = {} dicked[None] = &#8216;foo&#8217; # None ok dicked[(1,3)] = &#8216;baz&#8217; # tuple ok import sys dicked[sys] = &#8216;bar&#8217; # wow, even a module is ok ! dicked[(1,[3])] = &#8216;qux&#8217; # oops, not allowedSo a tuple is an immutable type but if I hide a list inside of it, then it can&#8217;t be a key.. couldn&#8217;t I just as easily hide a list inside a module?I had some vague idea that that the key has to be &#8220;hashable&#8221; but I&#8217;m just going to ad<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e4356476996eca6b89fddbd15a54c060?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGaluvian<br \/>\npython pylons<br \/>\nI have a Pylons app where I would like to move some of the logic to a separate batch process. I&#8217;ve been running it under the main app for testing, but it is going to be doing a lot of work in the database, and I&#8217;d like it to be a separate process that will be running in the background constantly. The main pylons app will submit jobs into the database, and the new process will do the work requested in each job.How can I launch a controller as a stand alone script?I currently have:from warehou<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/56e17cbc8c5ea5b37d67018db6d030b0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlarsmans<br \/>\npython multidimensional-array numpy swap<br \/>\nI love the way python is handling swaps of variables:a, b, = b, aand I would like to use this functionality to swap values between arrays as well, not only one at a time, but a number of them (without using a temp variable). This does not what I expected (I hoped both entries along the third dimension would swap for both):import numpy as np a = np.random.randint(0, 10, (2, 3,3)) b = np.random.randint(0, 10, (2, 5,5)) # display before a[:,0, 0] b[:,0,0] a[:,0,0], b[:, 0, 0] = b[:, 0, 0], a[:,0,0]<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d14f6cccfd53ead1bd34fd6365314c23?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nboleto<br \/>\nc++ python boost<br \/>\nIncluding this#include &lt;boost\/python.hpp&gt;in VS 2012 produces the error below:Although the code works with#include &lt;boost\/lexical_cast.hpp&gt;c:\\projects\\vs\\reports\\kdb\\CKDBData.h(66): warning C4800: &#8216;G&#8217; : forcing value to bool &#8216;true&#8217; or &#8216;false&#8217; (performance warning) C:\\Projects\\Library\\boost_1_54_0\\boost\/function\/function_fwd.hpp(43): error C2143: syntax error : missing &#8216;,&#8217; before &#8216;return&#8217; C:\\Projects\\Library\\boost_1_54_0\\boost\/function\/function_fwd.hpp(44): error C2143: syntax error :<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2e8b69989251cfc746626b802f610a2c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nF.J<br \/>\npython sqlite3<br \/>\nI was testing some code on the interpreter and I noticed some unexpected behavior for the sqlite3.Row class.My understanding was that print obj will always get the same result as print str(obj), and typing obj into the interpreter will get the same result as print repr(obj), however this is not the case for sqlite3.Row:&gt;&gt;&gt; print row # the row object prints like a tuple (u&#8217;string&#8217;,) &gt;&gt;&gt; print str(row) # why wouldn&#8217;t this match the output from above? &lt;sqlite3.Row object<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/664f311cc3398211094f2f61b0476618?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2388331<br \/>\npython pygame conways-game-of-life<br \/>\nI have been trying to write my own version of Conway&#8217;s Game of Life as practice for Python using Pygame. I first wrote the functions for initializing the game field, and then calculating the next generation. I verified it&#8217;s functionality using the console to print the results and verify that they returned the expected results (just 2 generations deep by hand on a 5&#215;5 grid).An important note of how I am calculating the neighbors&#8230; Instead of doing a for loop through the entire array and doing fo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c7d6c8f5dd392c704d912b4e2a6e164e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2565140<br \/>\npython-2.7 pygame<br \/>\ni have just started programming with python and i have write this code:import sys, pygame pygame.init()size = width, height = 800, 600 speed = [2, 2] black = 1, 1, 1screen = pygame.display.set_mode(size)ball = pygame.image.load(&#8220;ball.bmp&#8221;) ballrect = ball.get_rect() player1 = pygame.image.load(&#8220;player1.png&#8221;) player1rect = player1.get_rect()mod_x = mod_y = 0while 1:for event in pygame.event.get():if event.type == pygame.QUIT: sys.exit()elif event.type == KEYDOWN:if event.key == K_Wmovex = 2if eve<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5b0b9f77380ff95371c8fd4e4d374f7b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMaciej Miasik<br \/>\npython pygame transparent<br \/>\nIs it possible to display PyGame surfaces with controllable alpha? I would like to take a surface with its own per pixel alpha and display it with variable level of translucency without affecting the surface data and keep the transparency intact i.e. the objects on the surface would keep their shapes but their &#8220;contents&#8221; becoming more or less translucent.In other words I want to combine per-pixel alpha from the source image with per-surface alpha calculated at the runtime.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f1dce9f8ba8935e237da5890ffe6714a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTwinborn<br \/>\npython graphics pygame<br \/>\nhttp:\/\/cache.kotaku.com\/assets\/resources\/2008\/02\/dbzburstcell.jpg-edit- bassically just detailed vectorized 2d games.When making a side scroller in pygame or any other comparable 2d framework with python, can you utilize graphics such as in the above link?Thanks.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/88e60659e997d36af3ff348b3251e1a6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTshepang<br \/>\npython pygame runtime-error executable py2exe<br \/>\nI made a game with Python 2.6. I think its a good game so I would like to share it to my friends. I made an executable with it however it came up with an error:Runtime ErrorThis application has requested the Runtime to terminate in an unusual way. Please contact the application&#8217;s support team for more information.I searched this up on google and I came up with information about how to solve the problem. Even though I try to understand the steps they say it just doesn&#8217;t make sense. I looked at m<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e64a6b9e4e58e662438567c3320a0308?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nMrLog<br \/>\ndll pygame py2exe<br \/>\nI&#8217;ve started making a game using python and pygame, and tried using py2exe. It didn&#8217;t work, (like it should), so I used the pygame2exe code found here: http:\/\/www.pygame.org\/wiki\/Pygame2exeIt still doesn&#8217;t work, and comes up with the error stated in the title. I have a suspicion it&#8217;s to do with not having the correct dlls, but I&#8217;m clueless apart from that.Also, I managed to create a pygame executable in what I think was exactly the same way a few months ago, but now it doesn&#8217;t work. If you&#8217;d lik<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/85f0b684de1144a0a9b86170283c5974?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser2727932<br \/>\npython pygame windows-vista compatibility cx-freeze<br \/>\nI made a game with Python 2.6. I also made it into an executable with cx_Freeze 4.3. When I run the executable on my computer it came up with this:Microsoft Visual C++ Runtime LibraryProgram: C:\\Users\\smm\\Desktop\\asteroid shower 1.4.5\\asteroid.exeThis application has requested the Runtime to terminate it in an unusual way. Please contact the application&#8217;s support team for more information.I don&#8217;t understand what happened here. I tried solving the problem but with no luck. Then I searched the run<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d1e60b370b0c4bfaafd29146a7357f4d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHuntR2<br \/>\npython segmentation-fault pygame kinect simplecv<br \/>\nI have been using SimpleCV for find blobs to be used with a self-driving robot. The problem is when I call the findBlobs command in SimpleCV. When I completely block the lens of the Kinect Camera, PyGame crashes giving me this error:Fatal Python error: (pygame parachute) Segmentation FaultSometimes it works and other times it just crashes, even when the lens is unblocked. It will almost always crash when i run it for longer than about thirty seconds. I have re-installed and fixed many problems<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/AUD8a.png?s=32&amp;g=1\" \/><br \/>\nViruss mca<br \/>\npython while-loop switch-statement pygame<br \/>\nI am working on a program and i need to switch through different loops. this works thought when i try to switch back to the previous loop i crashes.Any suggestions?P.S. the bellow are examplese.g. Function = Home(change loop)Function = txtbox(change loop)Function = Home (Crashes here)import pygame, sys, time, random from pygame.locals import * import math import sys import os # set up pygame pygame.init()# set up the window WINDOWWIDTH = 1200 WINDOWHEIGHT = 650 windowSurface = pygame.display.set<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e636ad83fdded07aa620897da9639036?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nQuaki Gabbar<br \/>\npygame<br \/>\ni am trying to play sounds with pygame sound. My code is this:from tkinter import * import pygame root= Tk() pygame.init() bass = pygame.mixer.Sound(&#8216;sounds\\\\bass.wav&#8217;) snare = pygame.mixer.Sound(&#8216;sounds\\snare.wav&#8217;) crash = pygame.mixer.Sound(&#8216;sounds\\crash.wav&#8217;) bass.play() snare.play() crash.play() root.mainloop()When i run this code all three wave files are played together. I want to play them one after the other, and possibly have control over the time difference between each successive sound<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/47452e241577df1d5c10474cf4d5ef1b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser983022<br \/>\ndocumentation xsd jibx<br \/>\nAny ideas on how to include the xsd:annotation and xsd:documentation content defined in the schema as javadoc in the generated pojo using jibx???For now I only get the schema fragment on top of the class but cant see the annotation documentation for the schema.thanks for you time.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/IlnZm.jpg?s=32&amp;g=1\" \/><br \/>\nG\u00fcnter Z\u00f6chbauer<br \/>\ndocumentation dart dart-editor<br \/>\nI&#8217;m trying to generate the documentation of dart code. I&#8217;ve noticed that I cannot generate any documentation through DartDoc because inside my library I sometime need to import some external libraries. Below I have a small example that shows my actual problem.listController.dartpart of controllers;@NgController (selector: &#8216;[list-control]&#8217;,publishAs: &#8216;listCtrl&#8217; ) class ListController {}controllers.dartlibrary controllers;import &#8216;package:angular\/angular.dart&#8217;;part &#8216;listController.dart&#8217;;The end res<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2f90e858672c079741471f72cba5480c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBen<br \/>\nphp ide documentation phpdoc<br \/>\nI&#8217;ve been coding php for a while, and have never done much documenting. Sure I&#8217;ll give 2 word summaries of functions that I might forget about later. I am starting a large project soon, and decided this should be my jumping in point for better documentation. So are there any good tips on documenting? Any nice IDEs that make it useful\/intuitive? I currently use notepad++, but there doesn&#8217;t seem to be much support for phpdoc syntax, so what would be a good (preferably open source) alternative?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/24780fb6df85a943c7aea0402c843737?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMartijn Pieters<br \/>\npython unit-testing class documentation doctest<br \/>\nI would like to use a doctest comment block to demonstrate the usage of a particular base class, but either this cannot be done with doctest or I am doing something wrong. Here is my simple demo code.class MyClass(object):&#8221;&#8217;&gt;&gt;&gt; m = MyClass()&gt;&gt;&gt; print m.x1&gt;&gt;&gt; class A(MyClass):&gt;&gt;&gt; def __init__(self):&gt;&gt;&gt; super(A,self).__init__()&gt;&gt;&gt;&gt;&gt;&gt; a = A()&gt;&gt;&gt; print a.x1&#8221;&#8217;def __init__(self):self.x = 1if __name__ == &#8220;__main__&#8221;:import doc<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9cc3e3bb2ff2ef30810be80ca741de70?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmakerofthings7<br \/>\nios objective-c azure documentation azure-mobile-services<br \/>\nI&#8217;m a new Objective C programmer and am following the directions here to set up push notification. When I add the following &#8220;optional&#8221; code I get an error, and am unable to compile:- (void)application:(UIApplication *)application didReceiveRemoteNotification: (NSDictionary *)userInfo {NSLog(@&#8221;%@&#8221;, userInfo);UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@&#8221;Notification&#8221; message:[[userInfo objectForKey:@&#8221;aps&#8221;] valueForKey:@&#8221;alert&#8221;] delegate:nil cancelButtonTitle:@&#8221;OK&#8221; otherButtonTitles:n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/vzKJu.jpg?s=32&amp;g=1\" \/><br \/>\ncvsguimaraes<br \/>\nlanguage-agnostic coding-style documentation tags<br \/>\nMany software engineers are familiar with the usage of special comment &#8220;tags&#8221; that can be added to their code comments, for use in searches, automated task tracking, and so forth. Some of the most popular are FIXME, TODO, UNDONE, and HACK. I&#8217;m a bit confused with the usage of HACK and UNDONE tags. Little help please?Bonus points for showing the basic difference between FIXME and TODO<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eed60bdfc964ec62cc48aa6020a03d7b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNoldorin<br \/>\n.net documentation xml-comments xml-documentation<br \/>\nI&#8217;ve been attempting to fully document all types, methods, properties, etc. of a class library using XML comments but have run into a curious effect involving the cref attribute (used by see tags for example). Going by the advice of this MSDN page as well as following various other examples on MSDN and other websites, it seems that whenever one specifies a reference value using the cref tag, it must be prefixed with a certain marker that classifies the refence (such as &#8216;T:&#8217; for type and &#8216;M:&#8217; for<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7a2b86ed8122b1349febd0a1ddc1a5bf?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmutewinter<br \/>\nruby documentation<br \/>\nSay I&#8217;m writing some ruby code and I want to use the standard Date type to get the current date. Instead of using a search engine, is there a faster way to find the documentation for this class? I know I can get the methods for Date by typing Date.methods, but as far as I know this doesn&#8217;t provide details about argument types or return value.Editor-specific answers are welcomed. My editor of choice is Emacs.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a717291747c76567bb0f086e15ae6e43?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGilles<br \/>\nlinux documentation iproute<br \/>\nI use use ip by system(&#8220;ip link set eth0 up&#8221;) in a C program. I know that system returns -1 if it fails and returns what the called function returns(exit). E.g., if eth0 is not exist on the system, it returns 256. Where can I find what these numerical values defined for ip? For example ifconfig&#8217;s Return Codes:Return Code Description 0 The command completed successfully. 4 The command completed successfully, but a warning condition was detected. 8 The command was not specified correctly.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/888b95f2748b8b1868515ebc763a512a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBen Jencks<br \/>\nlinux storage documentation reference<br \/>\nCan someone point me to a fairly complete reference on the Linux I\/O system, primarily how all the buffers and caches are handled and flushed?My understanding so far is that there areApplication buffers (including fread\/fwrite buffers allocated by libc) VFS buffers that read and write act on pages that are mmaped (same as VFS buffers?) Filesystem-specific buffers (same as VFS buffers? Filesystem supplies some policy at least, e.g. XFS is more aggressive about write caching) The disk driver proba<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>tkf python I know what double underscore means for Python class attributes\/methods, but does it mean something for method argument?It looks like you cannot pass argument starting with double underscore to methods. It is confusing because you can do that for normal functions.Consider this script:def egg(__a=None):return __aprint &#8220;egg(1) =&#8221;, print egg(1) printclass Spam(object):def egg(self, __a=None):return [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3336","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3336"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3336\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}