<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="en">
	<title>沈</title>
	<subtitle>I am writing about my experiences as a human.</subtitle>
	<link href="https://example.com/feed/feed.xml" rel="self"/>
	<link href="https://example.com/"/>
	<updated>2025-11-25T05:23:22Z</updated>
	<id>https://example.com/</id>
	<author>
		<name>Jeehoon Sim</name>
		<email>jeehoon.sim@gmail.com</email>
	</author>
	
	<entry>
		<title>🇰🇷 South Korea: Return to Motherland</title>
		<link href="https://example.com/blog/posts/korea_return_to_motherland/korea/"/>
		<updated>2025-11-25T05:23:22Z</updated>
		<id>https://example.com/blog/posts/korea_return_to_motherland/korea/</id>
		<content type="html">&lt;h2&gt;Introduction&lt;/h2&gt;
Man it&#39;s been so long since i&#39;ve went to korea like fr fr
</content>
	</entry>
	
	<entry>
		<title>Musings</title>
		<link href="https://example.com/blog/posts/questions/"/>
		<updated>2025-11-23T00:00:00Z</updated>
		<id>https://example.com/blog/posts/questions/</id>
		<content type="html">&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;i wonder if humans can operate without a reward,cue,feedback system. would a lack of it be beneficial or harmful? this might go aginst evolutionary standards as i feel that we need something in life to keep us going.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;if your child commited a crime and you knew that if your child was discovered of commiting the crime, it would result in death penalty. do you report this, or would you keep them hidden?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;life seems to be a constant attempt in proving your existence.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content>
	</entry>
	
	<entry>
		<title>Art Memo</title>
		<link href="https://example.com/blog/posts/art_tips/art/"/>
		<updated>2025-11-18T00:00:00Z</updated>
		<id>https://example.com/blog/posts/art_tips/art/</id>
		<content type="html">&lt;h1&gt; Things I like &lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;저는 이제 캐릭터 디자인을 좋아합니다. 어떻게 어떤 아이디어들이 합쳐서 조화로운 컨셉이 만들어지는게 너무 재밌다고 생각합니다.&lt;/li&gt;
&lt;li&gt;이제 색이 화려한 색을 쓰는것 보다 좀더 어둡고 무드가 표현된것을 좋아한다. (만약 색이 그림의 중요점이면.)&lt;/li&gt;
&lt;li&gt;투시, 과투시과 들어간 포즈와 배경이 좋습니다. 무언가 연출가 보이는게 멋지고 화려하게 느껴집니다.&lt;/li&gt;
&lt;li&gt;판타지 요소가 있는 것을 좋아한다. 예를 들자면, 마법사,검사,로봇,그 캐릭터에 스토리텔링이 훨신 더 도움 주는거 같다.&lt;/li&gt;
&lt;li&gt;배경은 잘못그리지만, 좋아하는 부류는 건축물,자연, 이런 곳들이 마음에 든다.연습을 조금 더 해야겠다. 이런것에 익숙해야 투시그릴때도 영감이 쉽게 든다.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;General&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;기본기를 탄탄하게. 쉬워서 기본기가 아니라 그만큼 중요하다는 뜻.&lt;/li&gt;
&lt;li&gt;fundamentals, fundamentals, fundamentals&lt;/li&gt;
&lt;li&gt;칭찬을 들을수 있으면 들어라.&lt;/li&gt;
&lt;li&gt;지금 못그리는 너를 견뎌라.&lt;/li&gt;
&lt;li&gt;It&#39;s important to locate the joints first, and then add the finer details (clothing, muscles, skin), because doing so already establishes if you made a pose that seems believable.&lt;/li&gt;
&lt;li&gt;자기가 원하는 캐릭이 원작가가 그렬줄수는 없으니까, 내가 그리고 내꺼를 만들어 낼꺼다.&lt;/li&gt;
&lt;li&gt;자료를 찾는 시간이 너무 오래걸리면 그리는 시간이 더 없어진다. 적당히 찾고,연필을 움직이자.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Weaknesses&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;women anatomy;i don&#39;t really try to curve the waist as much because i worry that i will make it too distorted, but this thought process is holding me back, try to curve more and make that line more attractive. appeal its femininity!&lt;/li&gt;
&lt;li&gt;i don&#39;t really understand what happens to the arm if it&#39;s pulled back.&lt;/li&gt;
&lt;li&gt;exact loccation of the fold in thigh (or from where it originates)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Head&lt;/h2&gt;
&lt;h2&gt;Hair&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It&#39;s useful to think of hair as big separate layers that are stacked upon each other, and then you can add the finer details later.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Eyes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;According to the skull struture, the outer edge of our eye sockets actually go towards the ears, as it in goes backwards, so that slight tilt that you see at the edge of an eye is actually going slightly up and backwards (which explains our eye structure as we tilt our heads up or down)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Legs&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;when you see lots of people drawing like horizontal lines near the kneecaps, that can be explained anatomically! basically the top part of the vastus medialis and the vastus lateralis are convering near the patella (kneecap) so that explains the upper part of the horizontal lines, and then the bottom part can be explained by the patella tendon which facilicates knee movement (up and down). also when drawing hte lines it&#39;s slightly stronger and more exaggerated near the vastus lateralis, because when looked at the side that thing really does take up almost all of the side of the thigh, and so as it comes down near the patella, there is a small gap that it doesn&#39;t cover, and so that&#39;s why you can feel like a small concave hole when you try to flex your thighs and feel that area.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Arms&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;팔을 뒤로 도릴수록 deltoid presence 가 없어진다.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Feet&lt;/h2&gt;
&lt;h2&gt;Hands&lt;/h2&gt;
&lt;h2&gt;Back&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;When you&#39;re hunched forwards, there&#39;s two types, one where you&#39;re still constrained by your lower hip and trying to make it stiff, versus letting it loose and letting the entire spine curve upwards like a &amp;quot;C&amp;quot; shape. When the entire spine accomodates to make that &amp;quot;C&amp;quot; shape, it makes it seem like the back is arched more.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Perspective&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the 5 point perspective when I&#39;m trying to draw above the horizon line, the line that can be traced to is connected by opposite ends. For example, if I&#39;m trying to draw a curve coming to the north pole (vanishing point) then to draw some taller ceilings or buildings I would need to sketch a line going from the north to the south (not visible) vanishing point. This basically &amp;quot;extends&amp;quot; our viewpoint. (taken reference from youtuber who used the entire 360 degrees as the vanishing point).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;okay so i was doing some analysis by the author of yuru camp and some drawings he&#39;s made with perspective, and i may have some more revelations about how 5 point perspective can work. So the &amp;quot;vanishing point&amp;quot; that one estabilishes, is merely ONE of the vanishing points (and a second one because by nature they work like poles so it&#39;s bound to have one in the opposite side), and so once i find this vanishing point, the only way i can find the &amp;quot;eye level&amp;quot; (no longer horizon because its curved by nature), is by identifying the 90 degree east or west vanishing point (depending on which we want to focus on) and these two must form a curve with each other, as in they kinda intersect, and then depending on how you want the vertical vanishing point, it must be a contiuation from one of the two vanishing points.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;camera direction DOES NOT change the perspective of any of the vanishing points (they are not related). Basically remember that when I look up or down, the vanishing points do not change, only the horizon line in which I have set earlier, so the effect basicalyl becomes like &amp;quot;oh i see less of this now because im looking up&amp;quot; or &amp;quot;oh i see more of the bottom and less of the top because im looking down now but the perspective rules of the objects in question remain unchanged.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt; thighs &lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;the gap created when the thighs are folded follow the gap that takes the biceps femoris and semitendinosis, basically the hamstrings that connect to the tibia and fibula. And when its folded the gap goes only slightly more inwards (due to the surrounding fat creating an additional layer to stack upon each other, why we get the gap there as well), but overall the location is around the region where you would draw the crease for the upper part of the leg coming down to the tibia/fibula.&lt;/li&gt;
&lt;/ul&gt;
</content>
	</entry>
	
	<entry>
		<title>Artists that Inspire Me</title>
		<link href="https://example.com/blog/posts/artists_i_like/artists/"/>
		<updated>2025-11-15T00:00:00Z</updated>
		<id>https://example.com/blog/posts/artists_i_like/artists/</id>
		<content type="html">&lt;p&gt;The following artists are listed in no particular order.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Chommang&lt;/b&gt; - How to draw a face, building a &amp;quot;familiarity&amp;quot; for drawing. Taught me to draw consistently and fall in love with the process of drawing, no matter how small.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Omao&lt;/b&gt; - Great use of perspective in drawing. Taught me to get better at understanding effective perspective use.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nekojira&lt;/b&gt; - Box-style for drawing faces, simple yet beautiful art;standard for drawing anime faces. Taught me how to draw an appealing anime-styled face with its respective proportions.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Rinotuna&lt;/b&gt; - character design; creativity. Taught me to sometimes rely on my imagination sometimes and get wild.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Dorajam&lt;/b&gt; - no reference drawing;simple yet beautiful art;great with guns. Inspired me to want to be the same.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Leviathan&lt;/b&gt; - no reference drawing;simple yet beautiful art;standard for drawing cute anime faces. Inspired me to also improve in drawing the male body.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Tsukumizu&lt;/b&gt; - Mangaka of Girl&#39;s Last Tour and many other works. Distinct scratchy rough feeling in their line art. Simple yet effective using backgrounds and perspective. Inspired me to think about the backgrounds as well.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yuuto Suzuki&lt;/b&gt; - Mangaka of Sakamoto Days;Great composition of characters, use of perspective, and battle scenes. Made me want to draw cooler angles of characters.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Demizu Posuka&lt;/b&gt; - Illustrator for The Promised Neverland; very colorful and creative interpretations. Made me want to add more vibrant colors to my artwork.&lt;/p&gt;
&lt;p&gt;&lt;b&gt; Dino &lt;/b&gt; - More traditional take on anime style;Great value control. Made me want to study light and shadows more effectiely.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;김락희쌤&lt;/b&gt; - Published a great book that allowed me to think about the body structurally; refer for muscle questions. Made me want to understand the body form better.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yuji Shiozaki&lt;/b&gt;
I like his artstyle.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ito Ogure&lt;/b&gt;
I like his artstyle.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;석가쌤&lt;/b&gt; - 그림에 대해서 &amp;quot;왜&amp;quot; 를 묻게 만들게 해주신 분. 예를 들자면, &amp;quot;왜 이 표졍은 무섭게 생겼고, 이 표정은 순하게 생겼지?&amp;quot;,등등.&lt;/p&gt;
</content>
	</entry>
	
	<entry>
		<title>🇯🇵 Japan: Land of the Rising Sun</title>
		<link href="https://example.com/blog/posts/japan_land_of_the_rising_sun/japan/"/>
		<updated>2024-12-11T00:00:00Z</updated>
		<id>https://example.com/blog/posts/japan_land_of_the_rising_sun/japan/</id>
		<content type="html">&lt;h2&gt;Introduction&lt;/h2&gt;
After having spent 2 weeks prior in Busan, South Korea, my parents and I embarked on a journey to Tokyo, Japan for a week. As it was almost like our first time there (only my father having visited decades ago for his business trip), we could not have expected all the troubles of finding our destinations and using Google Maps constantly to find which entrance/exit to use in the train stations. Nevertheless, it was a wonderful trip full of novel experiences, great food, and much, much walking.
&lt;h2&gt;Day 1: Arrival&lt;/h2&gt;
 Upon our arrival to Narita Airport, I met a familiar figure as I was walking towards the exit after having done customs. It was none other than the character whose voice I&#39;ve heard millions of times. I had qualms about navigating my way through an unfamiliar country, but seeing Miku drastically shortened that feeling of distance between me and Japan.
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/Jkz6vlpPT0-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/Jkz6vlpPT0-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;A modern icon of Japanese pop culture: Hatsune Miku&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/Jkz6vlpPT0-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;A modern icon of Japanese pop culture: Hatsune Miku&lt;/i&gt;
&lt;p&gt;As we headed out the airport we were looking for the Keisei Skyliner, which is a high-speed train that allows us to go to center of Tokyo directly. We got on the train, got off at Nippori, and took the Yamanote Line towards Hamamatsucho Station, which is just a 5 minute walk away from our hotel.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/PECiFxFcVy-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/PECiFxFcVy-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;A modern icon of Japanese pop culture: Hatsune Miku&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/PECiFxFcVy-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;The high-speed train that takes us directly from the airport to Tokyo&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;It SHOULD&#39;ve been just a 5 minute walk away from the station to our hotel, but the fact that Google Maps doesn&#39;t tell you the direction you are facing, you never know if you&#39;re walking away or towards the destination. This hesitation and murkiness of using the app made us walk an unnecessary 15 minutes all over the streets with each person carrying two 30-lb luggages each. This was probably the worst experience in Japan yet. Our feet and arms were was dead as the luggages&#39; wheels. After checking in, it was approximately 3 pm, so we wanted to save our stomachs for dinner, but was still very hungry, so my parents set me off on a mission to take on the greatest experience any foreigner can get while in Japan: the convenience stores. Just like the 3 admirals in One Piece, Japan has the 3 most well-known convenience stores: Family Mart, Lawson, and 7-11. All three were nearby, but the closest in proximity was a 7-11 down the block, so I headed towards there, and oh man was I impressed by the selections. I knew what to expect, but I was still impressed. I had to take into consideration of my mother&#39;s inability to digest hard foods, so I chose some soft meals, some drinks and the legendary egg sandwich everybody worships.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/hbk1Smj1f2-3016.avif 3016w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/hbk1Smj1f2-3016.webp 3016w&quot;&gt;&lt;img alt=&quot;The first selection out of many to come &quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/hbk1Smj1f2-3016.jpeg&quot; width=&quot;3016&quot; height=&quot;2847&quot;&gt;&lt;/picture&gt;
&lt;i&gt;The first selection out of many to come &lt;/i&gt;&lt;/p&gt;
&lt;p&gt;To digest, we took a walk to Roppongi Hills to have dinner there, and pass the Tokyo Tower and Zozoji Temple on the way. The Tokyo Tower is a great feat of a building, resembling a tower on the other side of the world, but it truly shines in darkness. The funny part was that I would know where to get great angles of the tower as I would see a crowd of people at a certain location holding their phone upwards, so all I needed to do was to join the herd and follow along. Here a couple of my favorite shots:&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/wqyRHWsqz6-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/wqyRHWsqz6-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;The first selection out of many to come &quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/wqyRHWsqz6-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/ykJbKNbBsn-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/ykJbKNbBsn-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;The first selection out of many to come &quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/ykJbKNbBsn-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/XKmLkDqi1g-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/XKmLkDqi1g-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;The first selection out of many to come &quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/XKmLkDqi1g-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;I apologize for filling your screen with perhaps mundane pictures of the same structure. But you must understand that I really was excited to observe an edifice so close-up.&lt;/p&gt;
&lt;p&gt;As aforementioned, the search for the restaurants and shops proved to be the most challenging obstacle. Turns out the restaurant we wanted to go to was in the lowest level of the Roppongi shopping district. After ten minutes of much work, I managed to fill up our names in the queue before the lines became unmanageable. And oh boy was the struggle to find this place worth it. The tonkatsu just melted in our mouths and made us forget the nearly an hour walk we had prior getting to this place. I highly recommend checking out &lt;strong&gt;Butagumi&lt;/strong&gt; and trying their Rosu-Katsu (loin cutlet) and Hire-Katsu (fillet cutlet).&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/mHNhalN-cp-4032.avif 4032w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/mHNhalN-cp-4032.webp 4032w&quot;&gt;&lt;img alt=&quot;A picture of the set containing the Hire-Katsu, rice, and salad&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/mHNhalN-cp-4032.jpeg&quot; width=&quot;4032&quot; height=&quot;3024&quot;&gt;&lt;/picture&gt;
&lt;i&gt;Without exaggerating, the best tonkatsu I&#39;ve ever had in my life. Looking at this again makes me wish I was here again.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;And of course, we can&#39;t forget about the detour to the convenience store before heading back to the hotel. We snagged a small green pea snack and a Horoyoi, a type of Chuhai (low-alochol sparkling cocktail).&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/ovQ3yKx9cV-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/ovQ3yKx9cV-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;A green pea snack and a Horoyoi, a sparkling cocktail drink&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/ovQ3yKx9cV-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;h2&gt;Day 2: Shibuya &lt;/h2&gt;
Determined to try all the top 3 breakfast donburi chains of Japan, we headed towards Matsuya first thing in the morning. There actually wasn&#39;t much on the menu that looked appealing to me, so I appealed to my homely tastes and tried the kimchi-mayo donburi with the classic miso soup on the side. Truth be told, I should&#39;ve ordered something else because the portion was quite small and the flavor was medicore at best.
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/Ujs1CAq1vT-4032.avif 4032w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/Ujs1CAq1vT-4032.webp 4032w&quot;&gt;&lt;img alt=&quot;The Kimchi-Mayo Donburi, quite the unsatiating breakfast&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/Ujs1CAq1vT-4032.jpeg&quot; width=&quot;4032&quot; height=&quot;3024&quot;&gt;&lt;/picture&gt;
&lt;i&gt;Quite the unsatiating breakfast.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;For digestion purposes, we made our way to enjoy a stroll in Meiji Shrine. I have to say, the walk was quite pleasant as the thick trees provided protection from the sun and the weather gave off a cool feel.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/E2ue1MOtMD-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/E2ue1MOtMD-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;Entrance to the Meiji Jingu Shrine&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/E2ue1MOtMD-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;Swarmed more with trees than with people, quite the sight.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;As we exited the Meiji Shrine, the next on the list was the Takeshita Street in Harajuku. From searching online, apparently the crepes are a must, so we acquired a strawberry-chocolate flavored crepe, and man it was savory. Althought I was left alone to eat most of it and gain the calories, I regretted nothing.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/uMpZQsgHcQ-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/uMpZQsgHcQ-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;Strawberry-chocolate flavored crepe&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/uMpZQsgHcQ-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;sweet and yummy&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Afterwards we spent some time in the big malls area, where they had Tokyu Hands, tokyo 109, etc. The buildings were cool and all, but I wasn&#39;t much intersted in shopping anything at the moment so we left rather quickly. And of course the infamous Shibuya Crossing. It was during the day so there weren&#39;t as much people as I had feared.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/t-cvXMCHoN-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/t-cvXMCHoN-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;Shibuya Crossing During the Day&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/t-cvXMCHoN-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;Couldn&#39;t grasp the full scale of the crossing because it was too bright&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;We were feeling a little famished, so we went to the nearest Lawson and ordered the renowned Famichiki, basically just tender-like fried chicken you can eat on-the-go. Frankly speaking, it was good alright, but I think people give it too much credit. It&#39;s kind of hard to go wrong with fried chicken anyways.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/AbWTBgDfG8-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/AbWTBgDfG8-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;First time trying Famichiki&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/AbWTBgDfG8-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt; Quite the overhyped chicken &lt;/i&gt;&lt;/p&gt;
&lt;p&gt;As the evening approached we wanted to spend it near the center of Shibuya, but not before visiting the Pokemon Center first! We were still passionately playing Pokemon Go at the time, and since there was an opportunity to catch different variations of Pokemon in a different country, we had to visit the main attraction of our latest obsession. But oh man was this a mistake. Lines were filled and filled without and end to sight, and we couldn&#39;t enjoy much less anything. All I got was a picture of MewTwo at the front of the store and that&#39;s pretty much the only memorable event that day...&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/XmGg6gEI4D-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/XmGg6gEI4D-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;Pokemon Center in Shibuya&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/XmGg6gEI4D-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;4032&quot;&gt;&lt;/picture&gt;
&lt;i&gt;One of the biggest mistakes this trip, visiting an overpopulated attraction spot in an overpopulated area in the evening when most people come out.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;To catch a breather, we went to the famous Starbucks place near the crossing and seats were dificult to find as expected. We tried the matcha donut and a strange yuzu drink that I forgot why I ordered (probably because it felt novel at the time). During this time our father went out alone to buy some belt that he must acquire, which contributes to my mother&#39;s irritation to this day. I no longer have pictures around this time as my phone was dead from Google Maps overuse.&lt;/p&gt;
&lt;h2&gt;Day 3: Ginza&lt;/h2&gt;
tried yoshinoya this time, got the suki set , and oh man there was a small fire that constantly kept the food hot so it was nice but at the same time surprising at times cuz i expecte the food to be cooler but its still as hot as I first had it haha maybe good for taste but convenicence wise a little startling for sure for sure. parents wanted to try the taiyaki we saw on our say to yoshinoya, so we got that on our way back, arried at ginza, saw some watches at the WAKO place, and visited ITOYA and copped some cool pencils, and my  dad got some cool pens, visited UNIQLO and copped a rain jacket and parka that I used quite well for the rest of the trip.
&lt;h2&gt;Day 4: Akihabara &lt;/h2&gt;
got the takoyaki near yodabashi akiba, the biggest tech store in the world, could already tell this was a different vibe area, with the station at first, checked out a couple of anime goods and book places (manga nad light novels) today was mostly scouting, I would come back at another time to spend a good time by myself to look for the things I wanted, but it was a good effort. we then got curry later for dinner, and then we got some traditional japanese sweets, and oh man was that water SALTY af im not sure what that was but maybe it&#39;s good for your health, or so i hope, then got some sweeets, the inmatsu and the fried anzu thingy.  then on our way home we stopped by Tokyo Station to get the night view, and man there were lots of wedding couples posing to take pictures. It was quite a sight. Then we walked through Marunoichi street which weas just a block ahead and observed cool lights.
&lt;h2&gt;Day 5: Shinjuku&lt;/h2&gt;
this time we went to y oshinoya again but this time i tried something else, and it was quite good too! today was the day where we visited ginza so that dad could get the pen that he wanted from itoya last time, and this time i went to ginza to the sixth floor of ginza six, where they had starbucks and a tsutaya books, where i purhcased fresh copies of Good Bye Eri and Look Back (this is airing as a movie now!) check it out. It&#39;s a great read/watch. After we met up at we headed for Omoide Yokocho, but I got scammed because there are apparently two different ones with the same name. I went to the one where they had like only four or five stores, so I thought something was odd because from the pictures there should&#39;ve been way more but i didn&#39;t question too much because the sign before entering the street was undoubtedly Omoide Yokocho. Turns out I got tourist scammed and we had to purchase 350 yen for JUST NAPKINS. bruh im so sad i knew i should&#39;ve left the place but thought this was the real deal, only to realize that when we exited, there was another stree that had the exact same sign at the etnrance but with WAY more PEOPLE and with actually a bunch of stores, which I realized my mistake, because it should&#39;ve been this place. I consoled my self at the fact that the stores here would also be tourist scams and moved on to a restaurant nearby as we didn&#39;t eat too much at the izakaya, went to a sister recommended pladce down the block called gyukatsu motomura, and this was different than tonkatsu in a way because this was beef, and oh many it was so smooth and soft, and teh experience of having to cook it yourself was also quite interseting. A shame we couldn&#39;t sit as three people as the space in the restaurant was very limited and didn&#39;t accomodoate large parties. coming back got some hagen daz to wash down the grease.
&lt;h2&gt;Day 6: Asakusa &lt;/h2&gt;
this was where we visited the senseoji temple and oh ma of course, people are people everywhere. the street of souvenirs and foods/sweets before the main hall to the temple we had a vanillla/strawberry cone and a  peach flavored mochi with a strawrberryu on top and also had cream inside of it it was so good oh man. I then sent my parents back to the hotel and went on a mission to visit the Pokemon Stores in the Tokyo Station and the Pokemon Center DX in Nihonbashi. Got the iconic train station pikachu and copped a few cool gacha. Also did the coin making thing and I got al lteh exclusive ones from both centers, which I was quite happy about. Coming back to the hotel we still had a lotta of cash left and realizing our departure is tomorrow I set out on a mission to spend all the nearly 3800 yen I had at the Family Mart near our hotel. I almost succeeded, leaving only a few coins left, and this was the stash. Also got a Oshi no Ko figure box cuz why not had to spend it all haha. Got more Horoyoi as they added new flavors! was quite excited to try it out and the apple one was really good.
&lt;h2&gt;Day 7: Departure&lt;/h2&gt;
Not much to discuss here but just got a small Tokyo station sign keychain at Narita airport before leaving and also caught a shiny beldum on this game called pokemon go which was exciting! I could proudly say that I caught a shiny pokemon in Japan, haha, albeit not in the center of Tokyo :). We arrived at Incheon to stay a hotel nearby and had good seafood. The hotel was really nice and they also had a sauna, which I wanted to go to, but it was quite small and there wre already people inside it, which I didn&#39;t want to interrupt or be in their presence, so I just used their gym to do some basic light exercise before heading back up, showering, and getting ready to head back to the good old America.
&lt;p&gt;Looking back, even though lots of days were filled with much walking, much frustration at trying to find the right locations for everything, the novelty of being a foreigner, speaking in Japanese which I rarely do in America, lots of new food and cool buys, it was a very short but memorable trip. Though right now the jet lag is kind of killing me coming back, I would surely like to visit once more, perhaps by myself or with a small group of friends. Next time somewhere else, like Osaka or Kyoto, or maybe a few day trips to Kamakura or Yokohama. Who knows? Not sure when the next Japan trip will be , if any, but I know that this one will always be looked back at fondly as it was the first. I&#39;m grateful for my parents for also keeping up with me with all the walks. They got sick the last few days in japan due to lots of strained exercise, so I feel a little bad for not taking it a little bit easier, but even this too will be a special memory, and speaking of special memories we will not forget the times we&#39;ve practically visited a Don Quijote in every major city we visited. The song is still stuck with me, and I have to make much considerable effort to get rid of this sound. Or maybe I don&#39;t have to. If I can&#39;t let it go, I&#39;ll just enjoy it . Don Don Don... Donki...~&lt;/p&gt;
</content>
	</entry>
	
	<entry>
		<title>Seattle: The Emerald City</title>
		<link href="https://example.com/blog/posts/seattle_the_emerald_city/seattle/"/>
		<updated>2024-09-27T00:00:00Z</updated>
		<id>https://example.com/blog/posts/seattle_the_emerald_city/seattle/</id>
		<content type="html">&lt;h1&gt;Introduction&lt;/h1&gt;
After having spent a whole meaningless day on a fitting title, I decided to run with the most generic title one could possibly imagineーthe nickname. A couple candidates came and left, such as &lt;i&gt;Seattle Trip&lt;/i&gt;, &lt;i&gt;Trip to Seattle&lt;/i&gt;, &lt;i&gt;Visiting Seattle&lt;/i&gt;, etc. However, these all managed to grab my attention just as well as a documentary at 3 a.m. would (I love certain documentaries, but there&#39;s a lot more exciting activities I&#39;d rather be doing, sleeping being a great example). Besides, I didn&#39;t think any of the bland titles gave credit to just how much fun I had during my time in Seattle (Thank you, dear sister of mine).
&lt;p&gt;After graduation, I had the opportunity to visit Seattle, where my sister was working as a product manager for a large tech company. She was generous enough to fly me from Michigan to Washington round-trip, so I decided to take upon her offer despite the trip back being a red-eye flight. I didn&#39;t know what to expect, as I had kind of left the scheduling to her. Little did I know that I would enjoy almost all of it, except for all the walking that I had to do. (a minor price to pay) I felt that the least I could do to repay the favor is to write a detailed post about my experiences.&lt;/p&gt;
</content>
	</entry>
	
	<entry>
		<title>Notes on Korean and Japanese Cognates</title>
		<link href="https://example.com/blog/posts/notes_on_korean_and_japanese_cognates/KRjpCognates/"/>
		<updated>2024-09-20T00:00:00Z</updated>
		<id>https://example.com/blog/posts/notes_on_korean_and_japanese_cognates/KRjpCognates/</id>
		<content type="html">&lt;h2&gt;Background&lt;/h2&gt;
The more and more I consume Korean and Japanese content (as I have been ever since I was a child), distinguishing between certain words becomes very troublesome, as these two languages share so many cognates. Both countries&#39; languages are heavily inspired by the traditional Chineseーevident in modern times, as Japanese incorporates Chinese characters with 漢字, and as for Korean, although not used in modern communication, many traces of 한자 still remain, especially in temples and old texts.
&lt;h2&gt;Moving forward&lt;/h2&gt;
I want to dedicate this page to recording all the Korean and Japanese cognates that I encounter, so you can expect this page to be updated quite frequently. I hope that this serves as a valuable resource for those wanting to study both Korean and Japanese. If studied well, you can learn a single word in two different languages. If you happen to find any cognates not listed here, or find any mistakes, please reach out! I would love to hear from you and make this list as accurate and holistic as possible.
&lt;h2&gt;Korean-Japanese Cognates&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&quot;text-align:center&quot;&gt;Korean (한국어)&lt;/th&gt;
&lt;th style=&quot;text-align:center&quot;&gt;Japanese (日本語)&lt;/th&gt;
&lt;th style=&quot;text-align:center&quot;&gt;English&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;&lt;br&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;교실&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;教室&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;classroom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;기린&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;キリン&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;giraffe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;전신&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;全身&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;whole body&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;내용&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;内容&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;contents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;거리&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;距離&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;distance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;무기&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;武器&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;weapon&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;각오&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;覚悟&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;readiness&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;의식&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;意識&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;consciousness&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;예정&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;予定&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;plan&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;준비&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;準備&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;preparation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;결혼&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;結婚&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;marriage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;가족&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;家族&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;family&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;귀족&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;貴族&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;noble&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;자신&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;自身&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;self&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;자신&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;自信&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;self-confidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;정직&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;正直&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;honest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;자연&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;自然&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;nature&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;생활&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;生活&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;lifestyle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;인물&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;人物&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;감사&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;感謝&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;thanks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;사정&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;事情&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;circumstances&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;장소&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;場所&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;place&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;간단&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;簡単&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;simple&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;태도&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;態度&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;attitude&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;최고&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;最高&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;best&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;행동&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;行動&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;action&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;선배&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;先輩&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;senior (at shool, work)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;거대&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;巨大&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;gigantic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;사건&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;事件&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;incident&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;여유&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;余裕&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;room, leeway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;순간&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;瞬間&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;instant, moment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;효과&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;効果&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;effect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;절대&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;絶対&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;absolutely&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;직접&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;直接&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;directly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;이전&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;以前&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;before, ago&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;안심&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;安心&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;relief&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;방법&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;方法&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;method&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;점&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;点&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;point, mark&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;참가&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;参加&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;participation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;무시&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;無視&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;ignoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;의견&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;意見&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;opinion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;만족&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;満足&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;satisfaction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;위치&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;位置&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;position&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;광경&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;光景&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;sight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;기회&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;機会&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;opportunity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;집중&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;集中&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;concentration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;변화&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;変化&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;의문&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;疑問&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;doubt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;운명&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;運命&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;fate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;파괴&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;破壊&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;destruction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;해방&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;解放&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;setting free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;건물&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;建物&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;building&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;지시&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;指示&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;instruction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;안내&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;案内&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;guide&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;영향&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;影響&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;influence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;전투&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;戦闘&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;battle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;노력&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;努力&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;effort&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;발견&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;発見&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;실패&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;失敗&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;가능&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;可能&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;possible&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;예상&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;予想&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;prospect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;전개&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;展開&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;unfolding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;소개&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;紹介&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;introduction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;한계&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;限界&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;limit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;심장&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;心臓&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;heart&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;책임&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;責任&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;responsibility&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;대량&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;大量&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;large quantity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;무언&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;無言&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;silence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;독&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;毒&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;poison&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;사태&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;事態&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;state of affairs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;현실&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;現実&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;reality&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;비상&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;非常&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;emergency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;안전&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;安全&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;safety&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;가치&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;価値&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;정체&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;正体&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;true identity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;기술&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;技術&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;technology&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;정확&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;正確&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;accurate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;속도&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;速度&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;speed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center&quot;&gt;취미&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;趣味&lt;/td&gt;
&lt;td style=&quot;text-align:center&quot;&gt;hobby&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</content>
	</entry>
	
	<entry>
		<title>Comparators in Python</title>
		<link href="https://example.com/blog/posts/comparators_in_python/firstpost/"/>
		<updated>2024-09-18T00:00:00Z</updated>
		<id>https://example.com/blog/posts/comparators_in_python/firstpost/</id>
		<content type="html">&lt;p&gt;The LeetCode problem in question: &lt;a href=&quot;https://leetcode.com/problems/largest-number/description/&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot;&gt;Here &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As one usually does (obviously), I was doing a Daily LeetCode challenge. The problem gives you an input of an array of integers, and they must be arranged
so that their combined string concatenation number is the largest it could possibly be.&lt;/p&gt;
&lt;p&gt;I initially thought of sorting the numbers based on their leftmost number, since
we want to maximize the biggest digits first. However, this reasoning fell short
when I encountered the values 3 and 32. According to my thought process, 32 is greater than 3, so the ordering should result in 323. However, the opposite, 332, is actually greater than 323, meaning that I would need to place 3, a smaller value, to the left first. I was aware that this problem required some sort of sorting, but not the typical sorting that I was used to. Begrudgingly, I hovered my mouse over the solutions and to my surprise, learned a new feature in Python!&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/kUf9Yo58jN-3024.avif 3024w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/kUf9Yo58jN-3024.webp 3024w&quot;&gt;&lt;img alt=&quot;My poor attempts at trying to solve this problem.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/kUf9Yo58jN-3024.jpeg&quot; width=&quot;3024&quot; height=&quot;2228&quot;&gt;&lt;/picture&gt;
&lt;i&gt;My poor attempts at trying to solve this problem.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Turns out, having custom comparators isn&#39;t anything new, and I should&#39;ve been aware of this. After all, I&#39;ve used them in C++ before. They go something like this:&lt;/p&gt;
&lt;pre class=&quot;language-cpp&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-cpp&quot;&gt;&lt;span class=&quot;token macro property&quot;&gt;&lt;span class=&quot;token directive-hash&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;token directive keyword&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&amp;lt;iostream&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token macro property&quot;&gt;&lt;span class=&quot;token directive-hash&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;token directive keyword&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&amp;lt;vector&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token macro property&quot;&gt;&lt;span class=&quot;token directive-hash&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;token directive keyword&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&amp;lt;algorithm&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;namespace&lt;/span&gt; std&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;

&lt;span class=&quot;token comment&quot;&gt;//Descending order comparator&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;compare&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token keyword&quot;&gt;int&lt;/span&gt; a&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;int&lt;/span&gt; b&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
	&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; a &lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; b&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;token keyword&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt; vector&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token keyword&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;vec&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;

	&lt;span class=&quot;token function&quot;&gt;sort&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;vec&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;begin&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; vec&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; compare&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;

	cout &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot;Sorted vector: &quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
	&lt;span class=&quot;token keyword&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token keyword&quot;&gt;int&lt;/span&gt; val &lt;span class=&quot;token operator&quot;&gt;:&lt;/span&gt; vec&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
		cout &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; val &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot; &quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
	&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
	&lt;span class=&quot;token comment&quot;&gt;/*
	We would expect to see:
		Sorted vector: 3 2 1
	*/&lt;/span&gt;

&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;How the comparator works in C++ is that it takes a look at the two values and tries to maintain the order which makes an expression true. Since a comes before b, we want to set a &amp;gt; b to be true so that the vector is sorted in a manner that has the left value greater than the values to its right. (for descending order)&lt;/p&gt;
&lt;p&gt;However, in Python, it&#39;s slightly different. In a Python comparator, you return 1 if you want the right value to have priority, and you return -1 if you want the left value to have priority. We can implement all this using the cmp_to_key function from the &lt;i&gt;functools&lt;/i&gt; module. Let&#39;s see how we can use this in this LeetCode problem:&lt;/p&gt;
&lt;pre class=&quot;language-python&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;compare&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;y&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
	&lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; x &lt;span class=&quot;token operator&quot;&gt;+&lt;/span&gt; y &lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; y &lt;span class=&quot;token operator&quot;&gt;+&lt;/span&gt; x&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
		&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
	&lt;span class=&quot;token keyword&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
		&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&#39;s say x = 3 and y = 32 like in our example earlier. Since we know that since 332 is bigger than 323, we would want x to take priority in our sorting. Hence, we return -1. Otherwise, if x = 32 and y = 3, then we&#39;d want the y to take priority in this case, so we return 1 for this condition. The rest of the code follows:&lt;/p&gt;
&lt;pre class=&quot;language-python&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;from&lt;/span&gt; functools &lt;span class=&quot;token keyword&quot;&gt;import&lt;/span&gt; cmp_to_key

Class &lt;span class=&quot;token class-name&quot;&gt;Solution&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
	&lt;span class=&quot;token keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;largestNumber&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;self&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; nums&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt; List&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token builtin&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token builtin&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
		&lt;span class=&quot;token keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;compare&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;y&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
			&lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; x &lt;span class=&quot;token operator&quot;&gt;+&lt;/span&gt; y &lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; y &lt;span class=&quot;token operator&quot;&gt;+&lt;/span&gt; x&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
				&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
			&lt;span class=&quot;token keyword&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
				&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;

		strNums &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token builtin&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token builtin&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token builtin&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;nums&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
		strNums&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;sort&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;key &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; cmp_to_key&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;compare&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;

		&lt;span class=&quot;token comment&quot;&gt;#Handle edge case where the first digit is 0&lt;/span&gt;
		&lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;join&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;strNums&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; strNums&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;0&#39;&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;0&#39;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, it does pretty well performance-wise:
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/img/BbDQ0Kyoc2-1270.avif 1270w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/img/BbDQ0Kyoc2-1270.webp 1270w&quot;&gt;&lt;img alt=&quot;Performance of this solution.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/img/BbDQ0Kyoc2-1270.png&quot; width=&quot;1270&quot; height=&quot;290&quot;&gt;&lt;/picture&gt;
It&#39;s rather pedantic for a first post, but I&#39;m happy with how it turned out. I love being as thorough and detailed as I can. The biggest struggle was learning how to make the images fit properly. Now that this issue has been resolved, future writing will pose no struggle at all (or so I hope).&lt;/p&gt;
</content>
	</entry>
</feed>
