<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kyoungwon Lee on Medium]]></title>
        <description><![CDATA[Stories by Kyoungwon Lee on Medium]]></description>
        <link>https://medium.com/@leegeng?source=rss-1014e3da27b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*U-xqxeQjK7r-szOcWXQLQw.jpeg</url>
            <title>Stories by Kyoungwon Lee on Medium</title>
            <link>https://medium.com/@leegeng?source=rss-1014e3da27b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:48:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leegeng/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Trying to use HEY again]]></title>
            <link>https://medium.com/@leegeng/trying-to-use-hey-again-765c08089fea?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/765c08089fea</guid>
            <category><![CDATA[hey]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[37signals]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Mon, 12 Feb 2024 14:06:00 GMT</pubDate>
            <atom:updated>2024-02-12T14:08:14.970Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LKyjUhqxvCt3Ue1o" /></figure><p>When I was thinking about my birthday present, I decided to renew my subscription to the HEY service.</p><p>I was always hesitant because $99/year isn’t a small amount of money, but since I didn’t know what I wanted to buy for my birthday, I thought I’d give the SAAS subscription I’d been eyeing a try and it turned out to be a pretty good choice.</p><p>Why did I want to try HEY?</p><h3>Clean Inbox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7w0pyfj5TChvUZVa" /></figure><p>My main Gmail is dated 2009, and I’ve had it for about 15 years. I’m signed up to most of the sites with this email and it’s the email that has been sold with my personal information the most. That’s why whenever I receive an email, I unsubscribe or unsubscribe from unnecessary emails, but notifications from Gmail are never exciting.</p><h3>Ruby on Rails and 37signals</h3><p>I’m a server engineer with 11 years of experience using Ruby on Rails. It’s not a favorite language and framework in Korea, but it’s been a lifesaver for me to gain a lot of experience in Karrot, starting with Kakao, and I’m grateful to 37signals and DHH for being the biggest supporters of Ruby on Rails.</p><p>HEY is 37signals’ second service after Basecamp, and I believe it’s built with Ruby on Rails.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XO3UhNNOmAykmi3I" /></figure><p>If it was made by a company that supported the language that made me who I am today, I couldn’t resist using it.</p><h3>The functional side</h3><p>There are a lot of new features that seem novel and useful. These include Imbox, The Feed, Paper Trail, and a new feature called Bubble Up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CbwBc7cEhw0qdaKA" /></figure><p>Imbox is an impressive introduction to the service</p><blockquote>The Imbox: It’s not a typo Everyone hates their bloated inbox, so HEY has a focused Imbox instead. Your Imbox is where important, immediate emails go from people or services you care about. No random receipts, no “I rarely read these” newsletters, and no special offers crowding out the stuff you really care about.</blockquote><p>The point is, we all hate overflowing inboxes, which is why they created imboxes, and it’s a place to keep only the important stuff.</p><p>That’s what The Feed, Paper Trail, is for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mjVfGpYl-QuY9h08" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vxUKGDFjRGlrC2Ij" /></figure><p>But I tried HEY out of curiosity a year ago and unsubscribed. I rarely communicate with someone via email unless I’m changing jobs, and initially forwarding all my Gmail emails to HEY with the idea of moving my main email backfired.</p><p>My Imbox was rarely filled, The Feed was piling up, and I stopped checking my Paper Trail. In the end, I was paying a lot of money to use the same email as Gmail.</p><p>This was a big reason why I was hesitant to subscribe, but a new service called HEY Calendar has somewhat reassured me. I found out about this service through DHH’s post about Apple rejecting the app, and like HEY Email, I was impressed with the improvements they’ve made to the existing calendar service that were inconvenient or problematic.</p><p>I’m not sure if I’ll cancel again in a year and regret it like I did last time, but this time I have something to look forward to.</p><h3>Use as a signature email for self-branding</h3><p>The name Stark is an English name that I have used for 9 of my 11 years in the industry. I think every company I’ve worked for has been an opportunity to learn and grow, and I’ve always been more confident and successful with this name. Now that I’m looking forward to a role where I can share my experience rather than trying to accumulate it, I think it’s important to brand myself, and I’m going to start using HEY as my signature email.</p><h3>Get a feel for 37signals’ product philosophy</h3><p>I think I’ve benefited a lot from Ruby on Rails, but I’ve never actually used the services created by the people who created this language, and I’ve only been impressed by the stories I read on blogs from time to time.</p><p>I’ve also come across books related to the way of working written by 37signals indirectly while working at the company, but I would like to use the service created by such an influential place and feel if the philosophy they talk about is reflected in the product.</p><p>In my next post, I’ll share how I used this email for self-branding, and how I revisited 37signals’ signature philosophies to see what’s reflected in the product.</p><p>originally published on HEY World — <a href="https://world.hey.com/stark/trying-to-use-hey-again-f1f690b9">https://world.hey.com/stark/trying-to-use-hey-again-f1f690b9</a></p><p>Please note that the Korean version is now available. You can find it at <a href="https://www.kyoungwon.me/hey-">https://www.kyoungwon.me/hey-</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=765c08089fea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[아이가 있는 서버 개발자의 데일리 루틴 만들기]]></title>
            <link>https://medium.com/@leegeng/%EC%95%84%EC%9D%B4%EA%B0%80-%EC%9E%88%EB%8A%94-%EC%84%9C%EB%B2%84-%EA%B0%9C%EB%B0%9C%EC%9E%90%EC%9D%98-%EB%8D%B0%EC%9D%BC%EB%A6%AC-%EB%A3%A8%ED%8B%B4-%EB%A7%8C%EB%93%A4%EA%B8%B0-55b7e18f8bf6?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/55b7e18f8bf6</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[daily-routine]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Sun, 13 Feb 2022 13:23:32 GMT</pubDate>
            <atom:updated>2022-02-13T13:23:32.141Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uNC9UhXmQ3tCPy-m848vng.jpeg" /></figure><p>저는 평소에 생산성에 대한 관심도 많고 다양한 서비스를 써보려고 노력하고 있어요. 결혼하고 아이가 생기기 전까지는 열정이 곧 생산성이고 내가 노력을 쏟는 만큼 결과가 나오는 단순한 패턴이라 루틴을 만든다는 것에 대한 큰 의미를 알지 못했어요. 그런데 아이가 생기고 코로나 재택 + 가정 보육은 열정으로 결과를 뽑아내던 제게 생산성에 대한 고민을 다시 하게 만들었어요.</p><p>저는 현실적인 시간 제약을 가지고 있어요.</p><ul><li>오전 7시에 아이와 함께 일어나서 오전 9시까지 아침을 먹이고 놀아준 뒤에 잠깐의 커피와 빵 타임을 갖고 방으로 출근을 해요.</li><li>아이와 점심을 먹기 위해서 점심시간을 1시간보다는 조금 더 쓰는 편이에요.</li><li>저녁 식사도 가족과 함께 하기 때문에 보통 6시 반에는 저녁식사 시간을 가져요.</li><li>육퇴 후에 못했던 업무를 조금 더 하는 편이에요.</li></ul><p>이런 환경에서 지금 자리 잡은 제 데일리 루틴은 업무만을 위한 루틴은 아니고 개인의 발전을 위한 것도 고려하고 있어요.</p><h3>SleepCycle로 지난밤의 수면 품질을 체크하기</h3><figure><img alt="SleepCycle 주간 통계 스크린샷" src="https://cdn-images-1.medium.com/max/1024/1*N4Qzu6YvFxuthxke7xdvbw.png" /><figcaption>SleepCycle 주간 통계 스크린샷</figcaption></figure><p>SleepCycle은 수면을 분석해 주는 앱이에요. 자기 전에 켜두고 머리맡에 두고 자면 원하는 시간대에 얕은 잠으로 올라오는 타이밍에 알림을 울려주는 기능도 있고 소리로 수면 품질을 분석해 줘요.</p><p>저는 주로 알림보다는 수면 품질을 체크하는 것을 목표로 사용하고 있어요. 무엇보다도 취침 시간이 늦어져 가는 것을 견제해 주는 역할을 잘 해주고 있다고 생각해요. 일주일 해보고 안 하기로 했지만 미라클 모닝을 위한 5시에 일어나기도 이 앱으로 어렵지 않게 일어날 수 있었어요. 잠이 곧 보약이라는 말이 이제는 정말 실감 나더라고요. 잠을 제대로 자지 못하면 오전에 아이와 함께하는 시간뿐만 아니라 하루의 업무에도 큰 영향을 준다고 생각해요.</p><p>Sleep Cycle: <a href="https://apps.apple.com/us/app/sleep-cycle-sleep-tracker/id320606217">https://apps.apple.com/us/app/sleep-cycle-sleep-tracker/id320606217</a></p><h3>DayStamp를 이용한 사소한 습관 만들기(영양제 챙겨 먹기, 면도하기, 침구 정리하기 등)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLYTzC9VDTtZblHW9TZ1hg.png" /><figcaption>DayStamp 주간 리포트</figcaption></figure><p>습관 만들기 서비스는 정말 많고 다양한 서비스를 써봤는데 가장 직관적이고 주간 리포트나 현황을 보기 좋게 해줘서 잘 사용하고 있는 서비스에요. 사이드 프로젝트를 벌릴 수 있는 여유가 있다면 가장 먼저 똑같이 만들어서 써보고 싶은 서비스이기도 해요.</p><p>주로 단순하지만 반드시 매일 해야 할 것 같은 것을 체크하는데 운동과 투자 스터디는 늘 구멍이 나더군요…</p><p>DayStamp: <a href="https://apps.apple.com/kr/app/daystamp-%EB%8D%B0%EC%9D%B4%EC%8A%A4%ED%83%AC%ED%94%84-%EC%8A%B5%EA%B4%80-%EA%B8%B0%EB%A1%9D-%EC%95%B1/id1456241316">https://apps.apple.com/kr/app/daystamp-%EB%8D%B0%EC%9D%B4%EC%8A%A4%ED%83%AC%ED%94%84-%EC%8A%B5%EA%B4%80-%EA%B8%B0%EB%A1%9D-%EC%95%B1/id1456241316</a></p><h3>Clover의 Daily Notes를 이용한 업무 정리</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwetfL-k_USn2ZupwuA79Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDJph8qenW5jdwZ3UmZ01g.png" /><figcaption>Clover의 Daily Notes 스크린샷</figcaption></figure><p>Clover는 Notion과 거의 비슷한 노트 서비스라고 볼 수 있어요. 3명의 개발자가 만들었다는 이야기를 듣고 호기심에 써봤는데 Daily Notes라고 자체 제공하는 기능이 너무 마음에 들어서 하루의 업무 정리는 여기서 하고 있어요. 연동한 구글 캘린더의 일정에서 바로 노트를 연결해서 생성할 수 있는데 최근에는 미팅 노트를 따로 생성하지 않고 Daily Notes의 해당 날짜에 이어서 작성하고 있어요. Notion과 마찬가지로 block 제한으로 과금이 나누어져 있어서 1,000 Blocks이 넘어가면 어떻게 할지 고민할 것 같아요.</p><p>간단한 회의록이나 스크럼에 공유할 할 일을 정리하고 놓치는 이벤트가 없도록 할 일로 무조건 등록하고 있어요. 그러다 보니 까먹고 Jira 이슈를 생성하지 않는다든지, 누군가에게 뭔가를 확인해야 하는데 하지 않는다든지 하는 실수를 줄일 수 있었어요.</p><p>Clover: <a href="https://cloverapp.com/">https://cloverapp.com</a></p><h3>Notion에 쌓고 있는 Slack의 Saved Message 분류하기</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5efeVPBhYkO91aUOYZ6xQ.png" /><figcaption>Notion에서 Slack의 Saved Message를 관리하는 예시 스크린샷</figcaption></figure><p>회사에서 Slack을 쓰고 있는데 이런저런 일로 바쁘다 보면 나중에 다시 봐야겠다고 생각한 메시지를 Save 하곤 해요. 그런데 Slack에서는 Saved Message에 대해서 관리 기능은 별로 제공해 주지 않아서 쌓이기만 하지 정리가 되지 않더라고요. 그래서 Zapier를 연동해서 Save 이벤트가 발생하면 Notion 데이터베이스에 inbox로 넣어주고 매일 업무를 시작하기 전에 분류하고 지울 수 있는 것들은 지우는 식으로 사용하고 있어요.</p><p>Zapier: <a href="https://zapier.com/">https://zapier.com</a><br>Notion: <a href="https://www.notion.so/ko-kr">https://www.notion.so</a></p><p>예전에는 몰랐는데 이제는 정말 시간을 효율적으로 쓰지 않으면 사용할 수 있는 시간이 부족해서 언젠가 구멍을 낼 것 같아요. 그래서 데일리 루틴을 더 탄탄하게 만들려고 노력하고 있어요.</p><p>각각에 대해서 자세하게 이야기를 하지는 못했는데 위클리 루틴과 함께 사용하고 있는 서비스들에 대해서도 소개하는 글을 써볼 예정이에요.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55b7e18f8bf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[주소 인식을 위한 삽질의 기록]]></title>
            <link>https://medium.com/daangn/%EC%A3%BC%EC%86%8C-%EC%9D%B8%EC%8B%9D%EC%9D%84-%EC%9C%84%ED%95%9C-%EC%82%BD%EC%A7%88%EC%9D%98-%EA%B8%B0%EB%A1%9D-df2d8f82d25?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/df2d8f82d25</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Thu, 16 Jul 2020 06:18:45 GMT</pubDate>
            <atom:updated>2020-07-16T06:18:45.323Z</atom:updated>
            <content:encoded><![CDATA[<p>당신의 안전을 위해서라면 뭐든지 할 거예요. 그게 삽질이라도…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kk1el6PeZUJlsU6UpwMSGg.png" /></figure><h3>당근마켓에서는 왜 주소를 인식해야 하나요?</h3><p>중고거래할 때, 상대방에게 주소를 언제 알려줄까요? 택배 거래를 하거나 만날 장소를 정할 때 주소가 많이 공유돼요. 당근마켓은 중고거래 사기의 대부분을 차지하는 택배 거래보다는 당근마켓의 이점을 살려 근처에서 직접 만나 거래하도록 권장하고 있어요. 직거래할 때에는 누구나 찾기 쉽고 안전한 공공장소에서 하도록 권장해요. 이런 것들이 누군가에게는 당연할 수 있지만, 당근마켓에는 중고거래 자체가 처음인 사용자들도 많아요. 채팅방에서 주소가 공유될 때 안내 메시지를 보내 자연스럽게 알려주고 싶었어요.</p><blockquote>당근마켓은 중고거래에서 있을 수 있는 사기 등의 범죄를 예방하기 위해 다양한 노력을 하고 있어요. 사기꾼을 실시간으로 제재하기도 하고, 당근마켓 채팅 내에 다양한 안내 및 경고 메시지들을 통해 사용자에게 알려주기도 해요.</blockquote><h3>그러면 이제 주소를 인식해볼까요?</h3><p><strong>정규식을 이용해 주소 찾기</strong></p><p>정규식을 활용해 첫 시도를 해봤어요. 사용자가 확실히 주소를 입력한 경우에 도로명 주소를 확인하는 정규식은 다른 서비스의 테크 블로그들에서 찾아볼 수 있었어요. 하지만 저희는 채팅 내의 다양한 텍스트들 사이에서 주소를 찾아야 했기 때문에 그대로 사용하기는 어려웠어요. 당근마켓의 사용자들은 내 근처에서 거래하기 때문에 시/도 레벨의 주소보다는 읍/면/동/리나 도로명 주소를 직접 주고받는 경우가 많고 101동 101호와 같이 아파트 동호수만도 주고받는 경우가 많아요. 그래서 정규식을 당근마켓에 상황에 맞게 작성해보았어요.</p><pre>/(([가-힣A-Za-z·\d~\-\.]{2,}(로|길).[\d]+)|([가-힣A-Za-z·\d~\-\.]+(읍|동)\s)[\d]+)/</pre><p>이 정규식은 “디지털로30길 28” 과 같은 도로명 주소나 “구로동 222–12” 와 같은 지번 주소를 인식하기 위한 것이에요. 아파트 등의 “101동 101(호)”도 부분적으로 인식할 수 있어요.</p><p>결론적으로 의도했던 텍스트에 대해서는 안내 메시지가 잘 노출 됐지만 의도하지 않은 텍스트에도 메시지가 노출되는 문제가 발생했어요. 예를 들면 이런 예상치 못한 텍스트들이요. 😢</p><ul><li>오픈기념으로 1</li><li>말씀드린대로 12</li><li>종류별로 15</li><li>빳데리 2</li><li>허리 28</li><li>가로90cm세로40</li></ul><p><strong>의도치 않은 데이터를 제외한 진짜 주소 검증하기</strong></p><p>첫번째 시도로 잘못된 케이스의 안내 메시지가 일부 사용자에게 발송되었어요. 똑똑하지 못했던 안내 메시지 발송 플래그를 끄고, 문제를 해결하기 위해 정규식으로 검출된 텍스트에 대한 검증 단계를 추가했어요.</p><p>이미 당근마켓 지역 데이터베이스에 실제로 쓰이고 있는 법정동/행정동 정보가 있었기 때문에 이 정보를 조회해서 읍/면/동/리 등의 텍스트가 실제로 존재하는지 판단하도록 개선했어요. 아파트 등의 동호수는 법정동/행정동으로만 검증하면 없는 정보가 되기 때문에 이에 대한 조건을 먼저 체크하도록 대응했어요.</p><p>데이터 검증 단계에 있어서 가장 큰 문제는 도로명 주소였어요. 우선 이 데이터를 내부적으로 가지고 있지도 특별히 눈에 띄는 오픈 API도 존재하지 않았어요. 정부 데이터는 도로명 주소 DB를 제공하는 것만 찾을 수 있었어요. 그러던 중 API 형태는 아니었지만 <a href="https://www.juso.go.kr/info/RoadNameDataList.do?type=search&amp;roadCd=&amp;keyword=&amp;city1=11&amp;county1=680&amp;town1=&amp;searchType=0&amp;extend=true">도로명주소</a> 라는 정부 사이트에서 도로명 정보 조회 메뉴를 찾을 수 있었어요.</p><p>지역을 선택하면 해당 지역의 도로명 주소 리스트를 보여주고 엑셀 파일로 다운로드 받을 수 있는데 조회된 도로명 주소 리스트가 10,000건이 넘는 경우에는 엑셀 파일로 다운로드받을 수 없어서 일부 광역시는 한 번에 받을 수 있었지만 서울이나 도 단위 지역은 시군구를 하나하나 선택해서 다운로드하고 다시 데이터를 하나로 합치는 고통의 반복작업을 하게 됩니다. 개발자로서 이 과정을 자동화할까 하고 잠시 고민하긴 했지만, 사용자에게 빨리 안내하고 싶어 우선 적용해보고 차츰 개선해보기로 결정을 내렸어요.</p><p><strong>똑똑한 안내 메시지 보내기</strong></p><p>다운로드받은 데이터를 내부 Google SpreadSheet에 옮겨 중복을 제거하고나니 그 이후 작업은 훨씬 수월했어요. CSV 파일로 다운로드 받아서 스크립트로 필요한 부분만 골라 내부 저장소에 저장하는 방식으로 검증 데이터를 저장했어요. 데이터 저장은 Redis를 선택했는데 Set을 이용해서 주어진 도로명이 존재하는지의 여부만 쉽게 파악하기 위함이고 전체 데이터의 양이 적지 않기 때문에 시/도 단위로 데이터를 분할에서 저장했어요.</p><p>그 결과 일반적인 주소 형태를 모두 잘 인식할 뿐 아니라 정규식으로 뽑힌 주소가 아닌 텍스트도 잘 회피할 수 있었어요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRjWXJyGBIhQAmCJKSLYAA.png" /></figure><p><strong>새로운 주소가 생겨도 인식할 수 있게 자동화하기</strong></p><p>도로명 주소는 새롭게 추가되기도 한다고 해요. 주소 인식 프로토타입은 고통의 반복 작업으로 결과를 얻었지만, 앞으로의 유지보수를 위해 자동화를 하고 싶어졌어요. 자동화 고민을 하며 정신을 차리고 도로명주소 사이트를 다시 살펴보니 아까는 보이지 않던 <a href="https://www.juso.go.kr/addrlink/main.do?cPath=99JM">개발자센터</a>를 발견했어요. 도로명 주소는 빠르게 대량으로 변화하는 데이터가 아니기 때문에 오픈API를 활용하여 일정 주기로 업데이트 할 수 있을 거라 기대했어요. 하지만 오픈API의 경우 커머스 서비스 등의 주소 입력을 위한 주소 검색에 가까워 기존 방식을 자동화하거나 도로명 고시 정보를 매일 체크해서 데이터를 최신으로 유지하는 것이 낫다는 판단을 내렸어요.</p><p>아직 자동화 개발을 완성하지는 않았지만 아래와 같이 동작할 것 같아요.</p><ul><li>일정 주기로 도로명 주소 데이터를 동기화하는 Job을 실행하기</li><li>고시 정보나 도로명 정보 페이지를 통해 주기적으로 엑셀을 다운로드 하기</li><li>엑셀 데이터를 내부 저장소에 반영하기</li></ul><h3>아직도 더 개선할 것들이 남아있어요.</h3><p>개발하면서 도로명 주소의 검증 데이터 자동화 이외에도 개선 할 기능이 더 떠올랐어요. 더 다양한 상황에 맞게 모든 사용자가 믿고 거래할 수 있도록 개선해나갈 생각이에요 :)</p><ul><li>띄어쓰기를 제대로 하지 않은 주소 텍스트에 대한 처리 (ex. “구로구디지털로30길28”)</li><li>동호수가 숫자가 아닌 문자열인 경우에 대한 처리 (ex. A동101호)</li><li>사무실이나 주택 등에 대한 다양한 주소 처리 (ex. 건물 이름과 층수로 끝나는 주소 또는 다세대 주택의 주소 형식 등 — 마리오타워 609호)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tfiQ1i1BA2SFg4iGSvX6g.png" /></figure><p>당근마켓 서비스 팀은 당근마켓 사용자를 안전하게 보호하고 이웃과의 따뜻한 거래를 지원하기 위해 다양한 노력을 하고 있어요(<a href="https://www.daangn.com/trust">다양한 노력이 궁금하다면?</a>). 저희와 함께 당근마켓을 더 좋은 서비스로 만들고 싶은 분은 <a href="https://www.notion.so/daangn/07ca1fda22584d60a48ef43a8cf9bab0">채용 공고</a>를 확인해주세요.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df2d8f82d25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daangn/%EC%A3%BC%EC%86%8C-%EC%9D%B8%EC%8B%9D%EC%9D%84-%EC%9C%84%ED%95%9C-%EC%82%BD%EC%A7%88%EC%9D%98-%EA%B8%B0%EB%A1%9D-df2d8f82d25">주소 인식을 위한 삽질의 기록</a> was originally published in <a href="https://medium.com/daangn">당근 기술 블로그</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing deploy branch strategy]]></title>
            <link>https://medium.com/@leegeng/introducing-deploy-branch-strategy-ed5615513d8b?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed5615513d8b</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 03:01:04 GMT</pubDate>
            <atom:updated>2020-02-28T03:01:04.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pD0TSCU53RXrVtdf" /><figcaption>Photo by <a href="https://unsplash.com/@yancymin?utm_source=medium&amp;utm_medium=referral">Yancy Min</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Background</h3><p>In Danggeun Market, our team maintains source codes on GitHub. Until recently, our team uses the “develop” branch and the “master” branch for our product deployment without any git branch strategy, because our team aimed for the fast development with small team members. However, as our product is growing up, our team needed to develop many features concurrently with more software engineers. In this article, I will talk about my team’s git branch strategy problem and the solution under this environment.</p><h3>Git branch strategy</h3><p>Software engineering teams usually define a rule for git usage as collaboration increases called a git branch strategy. Lately, Gitflow, GitHub flow, and Gitlab flow are the most popular git branch strategies, and each approach has its own good/weak points depend on your project.</p><p>Although my team doesn’t decide an official git branch strategy yet, in the case of server-side repositories, I decided to try for Gitflow for the git branch strategy. Until now, I’m using this collaboration model without changing existing things.</p><p>Under the Gitflow strategy, principal branches are as follows. “master,” “develop,” “feature,” “release,” and “hotfix.” The role of them is below.</p><ul><li>master: An archived branch with stable codes. We assume that we can deploy the latest stable code with this branch.</li><li>develop: A deploy-ready branch, and this is a base branch of the next release branches and new feature branches. We assume that commits merged into this branch mean the test finished, and it is ready to deploy.</li><li>feature: A new feature branch, and make it based on the “develop” branch.</li><li>release: A deploy branch for the production stage. Make a new release branch based on the “develop” branch, and merge it into the “develop” branch and the “master” branch after the deployment finished.</li><li>hotfix: If you have an unexpected bug or problem after merging the release branch into the master branch, you can create a hotfix branch based on the “master” branch. Just fix the problem, and then merge it into the “develop” branch and the “master” branch.</li></ul><p>In Danggeun Market, I don’t use the “release” branch and the “hotfix” branch yet, I will try to make our git branch strategy soon.</p><h3>Gitflow, not always perfect.</h3><p>Generally, I can say using Gitflow is sufficiently enough for collaboration among software engineers. However, we can face a problem under the environment that maintaining a test stage and a production stage. Of course, if you have fully enough infrastructure resources, you can make your test server, and the solution is straightforward. On the other hand, in the case of the production stage, we can deploy using a release branch. Still, in the case of the test stage, there are possibilities with multiple features that are ongoing, and client engineers also test it with this environment. Therefore if you want to check your feature branch on the test stage, you should wait for the other feature branch test.</p><p>For example, let’s assume that our team is preparing for the two different significant updates for the next release. In this case, we usually work with client software engineers, and we have to deploy our work to the internal test server for them. Until now, we can’t merge our branch into the “develop” branch, because the current branch doesn’t thoroughly test, and this deployment is for the client-side testing. In Gitflow, it can’t cover this situation; in other words, there is no guide or solution for this. The only way to solve the problem using the Gitflow is to wait for my turn.</p><h3>Deploy branch strategy</h3><p>To solve the above problem, I use the Deploy branch strategy. This strategy is not defined by somewhere; I re-defined based on previous experience in the last team. The basis of this strategy is the same as Gitflow, and added an exclusive branch for a test stage server deployment using a branch named “deploy/{month}”. In the case of {month}, it just means a branch period to avoid leaving it a long time. So it could be replaced with a different period.</p><p>The overall flow of the Deploy branch strategy is below.</p><ul><li>Each new feature should be developed on the “feature” branch, and the base branch is the “develop” branch.</li><li>A deploy branch master (Someone who moderates wrong usages of the strategy) creates a “deploy” branch based on the “develop” branch. (ex. deploy/03)</li><li>The “deploy” branch is for the deployment on a test stage server, and CI is strongly recommended.</li><li>Merge the feature branches which need a test on the test stage server with its merge commit. (Don’t squash it until you are ready for Pull-Request)</li><li>After the testing, create a Pull-Request and merge it into the “develop” branch.</li><li>Once some commits are added on the “develop” branch, the “deploy” branch should merge the “develop” branch into itself.</li></ul><p>With this strategy, you can quickly deploy each feature branch into a single branch on a test stage server, and it can enhance efficiency for your dev team.</p><h3>Retrospect</h3><p>I applied this strategy to our team for about two months, and the experienced pros and cons are as follows.</p><p>Pros</p><ul><li>Everyone can deploy their feature branches without waiting.</li></ul><p>Cons</p><ul><li>A newcomer can be confused.</li><li>The test stage server can be unstable because the “deploy” branch is for the testing. You can avoid it with a well-constructed testing environment.</li><li>A deploy branch master role is needed at the early stage to moderate the wrong usage.</li></ul><p>Although the test stage server can be unstable, I think its pros bring significant efficiency to the team. Therefore we could achieve enhancing our dev team’s productivity with this git branch strategy without changing the internal infrastructure environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed5615513d8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[deploy 브랜치 전략 활용 방법]]></title>
            <link>https://medium.com/daangn/deploy-%EB%B8%8C%EB%9E%9C%EC%B9%98-%EC%A0%84%EB%9E%B5-%ED%99%9C%EC%9A%A9-%EB%B0%A9%EB%B2%95-545f278ca878?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/545f278ca878</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Tue, 11 Feb 2020 03:17:05 GMT</pubDate>
            <atom:updated>2020-02-11T05:38:22.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*11seMDS1SHNIdg93" /><figcaption>Photo by <a href="https://unsplash.com/@yancymin?utm_source=medium&amp;utm_medium=referral">Yancy Min</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Background</h3><p>당근마켓에서는 GitHub을 이용해서 소스코드를 관리하고 있습니다. 최근까지는 적은 인원이 빠른 개발을 하는 것을 목적으로 했기 때문에 특별한 브랜치 전략 없이 작업 후 테스트한 코드를 develop 브랜치에 merge 하고 서비스 배포 시 master 브랜치에 develop 브랜치를 merge 해서 배포하는 방식을 사용하고 있었습니다. 하지만 서비스가 성장함에 따라 다양한 기능 개발이 동시에 진행되면서 이전보다는 많은 개발자가 동시에 협업을 하고 있습니다. 그래서 이런 환경에서 발생했던 Git 브랜치 전략 관련 문제와 해결 방법에 대해서 이야기해보려고 합니다.</p><h3>Git 브랜치 전략</h3><p>협업의 규모가 커지면 개인의 스타일대로 git을 사용하는 것이 아니라 서로 규칙을 정해서 사용하게 되는데 이를 Git 브랜치 전략이라고 부릅니다. 최근에 많이 사용되고 있는 것으로는 <a href="https://nvie.com/posts/a-successful-git-branching-model/">Gitflow</a>, <a href="https://guides.github.com/introduction/flow/">GitHub flow</a>, <a href="https://about.gitlab.com/blog/2014/09/29/gitlab-flow/">Gitlab flow</a> 등이 있는데 프로젝트가 어떻게 운영되고 있느냐에 따라 각각 장단점이 있습니다.</p><p>당근마켓에서는 아직 전사적으로 어떤 Git 브랜치 전략을 선택할지 결정한 것은 없으나 최근에는 서버 레포지토리의 경우 Gitflow를 지향하는 방식으로 바꿔가고 있습니다. 우선은 지금까지 빠르고 편하게 사용했던 개발 협업 패턴을 크게 바꾸지 않으면서도 최소한의 규칙을 적용하고 있습니다.</p><p>Gitflow에서 기본적인 내용만 요약하면 사용하는 브랜치는 master, develop, feature, release, hotfix 브랜치이며 각각의 역할은 아래와 같습니다.</p><ul><li><strong>master:</strong> Stable 한 코드의 Archive이며 master 브랜치로 배포하면 언제든지 stable 한 상태의 코드가 배포됨.</li><li><strong>develop:</strong> Deploy-ready 상태의 코드가 있는 브랜치로 release 브랜치와 새로운 feature 브랜치 생성의 base가 되는 브랜치임. develop 브랜치에 들어왔다는 것은 테스트가 완료되고 언제든 배포해도 된다는 의미임.</li><li><strong>feature:</strong> 작업 브랜치로 develop 브랜치를 기준으로 생성함.</li><li><strong>release:</strong> 배포가 나갈 때 생성하는 브랜치로 develop 브랜치를 기준으로 생성하며 배포 &amp; 모니터링이 끝난 이후에 develop 브랜치와 master 브랜치로 merge함.</li><li><strong>hotfix:</strong> master 브랜치에 release 브랜치가 merge된 이후에 예상치 못한 버그나 문제가 발생했을 때 빠르게 수정하기 위한 브랜치임. master 브랜치를 기준으로 생성해서 고쳐야 할 기능만 고쳐서 배포한 후에 문제가 마무리되면 develop 브랜치와 master브랜치로 merge 함.</li></ul><p>여기서 당근마켓에서는 우선 release, hotfix 브랜치는 사용하지 않고 master 브랜치를 배포 브랜치로 사용하고 있는 상황이지만 조만간 git 브랜치 전략을 정해볼 예정입니다.</p><h3>gitflow, 완벽하지만은 않다</h3><p>일반적으로 gitflow를 사용할 때 협업에는 큰 문제가 없다고 생각할 수 있지만 실제로 테스트 서버와 프로덕션 서버를 운영하는 환경에서는 한 가지 문제가 생깁니다. 물론 인프라 서버 자원이 풍부해서 feature 브랜치 별로 테스트 서버를 별도로 띄울 수 있다면 큰 문제가 없습니다. 하지만 그렇지 않은 경우 프로덕션 서버는 release 브랜치를 이용해서 배포 가능하지만 테스트 서버의 경우 각자의 feature 브랜치를 테스트하려면 다른 사람의 테스트를 기다려야 하는 문제가 발생합니다.</p><p>예를 들어 중고거래와 관련된 기능과 동네생활과 관련된 기능이 동시에 개발되고 있는 상황에서 서버 개발자의 로컬 테스트만으로는 충분하지 않은 경우 (대게 클라이언트 개발자와 협업을 하는 경우) 다른 구성원들도 함께 테스트를 하려면 내부 테스트 서버로의 배포가 필요합니다. 이때 개발 중인 기능은 테스트가 충분히 끝나지 않았기 때문에 develop 브랜치로 merge 할 수 없습니다. 따라서 feature 브랜치 상태에서 테스트 서버에 배포를 해야 하는데 이런 상황에 대한 해결 방안은 gitflow에서는 찾아볼 수 없습니다. 중고거래 관련 기능 feature 브랜치를 먼저 배포해서 테스트하고 그 후에 동네생활 관련 기능 feature 브랜치를 배포해서 테스트해야 하죠.</p><h3>deploy 브랜치 전략</h3><p>위 문제를 해결하기 위해 당근마켓에서는 deploy 브랜치 전략을 사용해보고 있습니다. 이 전략은 누가 어디서 정의한 것은 아니고 제가 이전 직장에서 경험한 케이스를 현재에 맞게 재구성해본 것입니다. 이 전략의 기본은 gitflow와 같지만 추가적으로 테스트 서버 배포를 위한 전용 브랜치를 이용하는 것으로 deploy/{month}라는 브랜치를 이용합니다. month의 경우 한 달의 기간을 의미하는 월을 의미하는데 이는 브랜치 수명을 너무 길게 가져가지 않기 위해 정한 것으로 꼭 이렇게 해야 한다는 것은 아닙니다.</p><p>deploy 브랜치 전략의 전체적인 플로우는 아래와 같습니다.</p><ul><li>각 기능은 feature 브랜치에서 개발하며 기준 브랜치는 develop 브랜치임.</li><li><strong>deploy 브랜치 마스터</strong>(deploy 브랜치의 잘못된 사용을 막아주는 모더레이터 역할)가 브랜치 라이프 사이클에 맞춰 develop 브랜치 기준으로 deploy 브랜치를 생성함. (ex. deploy/02)</li><li>deploy 브랜치는 테스트 서버에 배포되는 브랜치이며 CI를 운영하는 것을 권장함.</li><li>테스트 서버에서 테스트가 필요한 feature 브랜치를 각자가 deploy 브랜치에 merge commit과 함께 merge 함.</li><li>deploy 브랜치에서의 기능 테스트가 끝나면 각 feature 브랜치는 Pull-request를 통해 deveop 브랜치로 merge됨.</li><li>develop 브랜치에 commit이 추가되면 deploy 브랜치는 이 commit을 항상 merge 하여 최신 develop 브랜치 코드를 따라가야 함.</li></ul><p>이 전략을 사용하게 되면 테스트 서버에서 각 feature 브랜치를 한 브랜치에 묶어서 배포를 할 수 있습니다. 같은 코드를 동시에 서로 다른 사람이 수정하는 것이 아니라면 Conflict이 생길 일 없이 테스트 서버에 배포하고 각 feature 브랜치에서 추가 개발을 하며 협업할 수 있습니다.</p><h3>회고 및 정리</h3><p>실제로 당근마켓에서 이 브랜치 전략을 2~3주간 사용해보면서 경험한 장점과 단점은 다음과 같습니다.</p><p><strong>장점</strong></p><ul><li>모두가 기다리지 않고 테스트 서버에 배포를 할 수 있음.</li></ul><p><strong>단점</strong></p><ul><li>deploy 브랜치와 develop 브랜치에 merge 하는 조건 등을 처음 접하는 사람은 헷갈려 하는 경우가 있음.</li><li>deploy 브랜치는 테스트 서버 전용 브랜치이기 때문에 누군가의 실수로 테스트 서버에 장애가 날 수 있음. &gt; 유닛 테스트 등이 잘 되어 있다면 피할 수 있음.</li><li>초반에는 deploy 브랜치 마스터의 역할을 하는 사람이 필요함.</li></ul><p>도입 초기에 익숙하지 않은 구성원이 만들어낼 수 있는 실수가 있을 수 있지만 장점이 매우 큰 효율성을 가져오기 때문에 내부적인 개발 인프라 환경을 바꾸지 않고 git 브랜치 전략만으로도 큰 생산성을 확보할 수 있었습니다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=545f278ca878" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daangn/deploy-%EB%B8%8C%EB%9E%9C%EC%B9%98-%EC%A0%84%EB%9E%B5-%ED%99%9C%EC%9A%A9-%EB%B0%A9%EB%B2%95-545f278ca878">deploy 브랜치 전략 활용 방법</a> was originally published in <a href="https://medium.com/daangn">당근 기술 블로그</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2019년 회고 Part 1 — Work & Study]]></title>
            <link>https://medium.com/@leegeng/2019%EB%85%84-%ED%9A%8C%EA%B3%A0-part-1-work-study-5ba06a10073a?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ba06a10073a</guid>
            <category><![CDATA[회고]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Wed, 01 Jan 2020 14:48:42 GMT</pubDate>
            <atom:updated>2020-01-01T14:48:42.910Z</atom:updated>
            <content:encoded><![CDATA[<h3>2019년 회고 Part 1 — Work &amp; Study</h3><p>그동안 하다말다 했던 연간 회고 글이지만 올해는 글을 써보고 싶게 해준 회고 포맷(https://rinae.dev/posts/retrospective-2018)이 있어서 이에 맞춰서 작성해보게 됐다.</p><h3>Work(무슨 일을 했나)</h3><p><strong>VP of Software Development @Lunit</strong></p><p>2019년 4월부터 퇴사를 한 11월까지 루닛에서 소프트웨어개발 부서의 조직장 역할을 맡았다. 작년말부터는 제품개발 팀 리더 역할을 하긴 했지만 다른 소프트웨어 개발 조직을 통합하면서 딥러닝 모델 개발을 제외한 나머지 개발을 담당하는 부서가 신설 됐고 이를 담당하는 역할이다. 아직 연차와 경력에 비해 부담스러운 역할인데 내부적으로 담당할 사람이 없어 어쩔 수 없이 한 부분도 있지만 개인적으로는 조직장의 경험을 잠깐이라도 찐하게 해볼 수 있었던 시간이었다.</p><p><strong>스타트업 채용 페스티벌</strong></p><p>엔젤투자협회에서 주최한 스타트업 채용 페스티벌의 패널로 행사에 참석했다. 주로 스타트업으로의 구직을 희망하는 구직자들이 오는 자리였고 나는 “스타트업에서 일하는 개발자”의 경험을 전해주는 역할이었는데 아무래도 그간의 커리어가 스타트업 위주이다보니 할 수 있는 이야기가 많았다. 그리고 지난 해 deview에 연사로 참석한 이후 외부 행사에 연사로서 참석을 이어갔다는 점에서 긍정적인 시간이었다.</p><p><strong>이직</strong></p><p>루닛에서 중요한 역할을 맡고는 있었지만 개인적인 개발 역량의 발전의 측면에서는 아쉬운 점이 많아 이직을 하게 됐고 현재는 당근마켓에 재직중이다. 루닛 이전에 해오던 서비스 개발 및 루비 온 레일즈를 다시 하게 됐고 조직장이라는 타이틀 없이 개발만 하게 되니 가벼운 마음으로 서비스 개발에만 집중하고 있다.</p><h3>Study(무엇을 익혔나)</h3><p><strong>Dockerize</strong></p><p>도커를 실무에서 제대로 쓴 경험은 루닛이 처음이었다. 작년에 디지털 병리학 관련 업무를 할 때와는 다르게 제품화하는 과정에 있는 엑스레이 제품군에서는 도커 이미지를 좀 더 가볍고 잘 만드는 것이 중요했다. 팀리더 그리고 조직장을 하고 있었지만 도커를 실무에서 다룬 경험이 부족하다보니 팀 멤버가 잘 만들어놓은 것을 보고 이해한 뒤 이리저리 Best Practice를 따라가는 정도로 익히곤 했다. 하지만 이전에 아예 몰랐을 때에 비하면 어디가서 아무것도 없는 상황에서도 환경을 잘 만들 수 있는 수준은 된 것 같다. 개인적으로는 중요하다고 생각했던 공식 가이드 문서를 번역해보려고 준비는 했었는데 내년으로 미뤄야 할 것 같다…</p><p>여전히 자주 삽질하는 포인트도 있기는 하지만 다행히 당근마켓에서도 도커를 사용하고 있으니 계속 경험치를 쌓을 수 있을 것 같다.</p><p><strong>Kubernetes</strong></p><p>대세라서 예전부터 꼭 경험해보고 싶었는데 다행히 팀내 실력자가 어려운 환경 내에서도 세팅을 잘 마무리해줘서 프로젝트를 k8s로 마이그레이션하는 작업을 해볼 수 있었다. 필요한 설정과 파일들에 대한 템플릿만 잘 준비되어 있다면 크게 어려울 것이 없어보이는데 여전히 바닥부터 새로 하는 부분은 물음표로 남아 있기는 하다. 일단 올해는 수동 혹은 반자동으로 도커 이미지를 띄워서 서비스하던 것을 k8s 클러스터 내부에 올려서 서비스하는 것을 직접 해본 경험에 만족했지만 내년에는 좀 더 디테일하게 살펴보고 활용할 수 있는 수준이 되도록 해보려고 한다.</p><p><strong>조직 관리 및 개발 문화</strong></p><p>한 부서의 조직장임에도 불구하고 실무를 뗄 수 없는 상황이라 조직 관리에 대해서는 제대로 신경쓰고 챙겨지는 못한 것 같다. 다만 주어진 상황에서 최대한 멤버 개개인의 생각과 니즈를 파악하려고 노력을 하긴 했는데 그 노력 중에 하나는 전무 했던 개발 문화를 하나씩 만들어보려고 했던 것이다.</p><p>지금은 새로운 환경으로 옮기면서 이전에 노력했던 부분이 전부 기억나지는 않지만 하나씩 나열해보면 요즘 스타트업이라면 모두 잘 하려고 하는 부분이지 않나 싶다.</p><ul><li>정기적인 개발팀 내부적인 지식 공유 (세미나)</li><li>정기 팀 미팅으로 우리의 현재 상황 공유 (지표 및 장애, 이슈 공유)</li><li>신규 입사자 환영해주기</li><li>팀 멤버 생일 챙겨주기</li><li>카카오뱅크의 주간온도 벤치마킹</li><li>개발 컨퍼런스 참석 후 인상 깊었던 세션 공유</li></ul><p>잘 됐던 부분도 있고 호응이 아쉬웠던 부분도 있고 애초에 조직과는 맞지 않는 시도인가 싶은 것들도 있었는데 이 부분은 다시 한 번 정리해보려고 한다.</p><p>이번 글에서는 배운 것과 시도해본 것들에 대해서만 회고해봤고, 다음 글에서 잘한 것과 못한 것, 그리고 내년에 해보면 좋겠다고 생각하는 것들을 정리할 예정이다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ba06a10073a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ubuntu 16.04 Desktop에 nvidia driver 설치 삽질기]]></title>
            <link>https://medium.com/@leegeng/ubuntu-16-04-desktop%EC%97%90-nvidia-driver-%EC%84%A4%EC%B9%98-%EC%82%BD%EC%A7%88%EA%B8%B0-3a19824734c6?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a19824734c6</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[nvidia-driver]]></category>
            <category><![CDATA[gt73vr]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Fri, 07 Dec 2018 12:15:11 GMT</pubDate>
            <atom:updated>2018-12-07T12:15:11.332Z</atom:updated>
            <content:encoded><![CDATA[<p>개인적으로 딥러닝 스터디를 하기위해 GTX 1070을 탑재한 게이밍 노트북을 중고로 구매하여 세팅을 하다가 nvidia driver 설치에서 난항을 겪었던 삽질기를 공유하고자 합니다.</p><p>참고로 제 장비는 msi GT73VR 7RE Titan 모델입니다. <br>다른건 중요하지 않고 GTX 1070 8GB가 있는 모델인데 1TB의 하드디스크에서 500GB를 Ubuntu 설치를 위해 파티션을 나누고 Ubuntu 16.04 Desktop을 설치했습니다.</p><p>nvidia driver를 설치하는 예시를 좀 찾아봤는데 이상하게도 <strong>로그인 무한루프</strong> 라는 용어가 많이 보이더군요. 왜 무한 루프가 돌지?라고 생각했는데 그냥 쉽게 설치가 될걸로 생각했던 nvidia driver 설치가 쉽진 않았습니다.</p><h3>삽질1</h3><p>NVIDIA 공식 홈페이지에서 Linux용 드라이버를 다운받아 가이드에 따라 설치를 진행했습니다. 설치 완료 후 재부팅을 하면 로그인 화면에서 로그인을 해도 다시 로그인 화면이 뜹니다. 원인은 잘 모르겠습니다.</p><h3>삽질2</h3><p>그렇다면 Ubuntu Server를 설치해야 하나? 설명에 Server버전에 설치하는게 많던데라고 생각하며 Server를 설치해봅니다. 실패했습니다. <br>네트워크 인터페이스를 찾지 못하고 Archive Mirror 사이트를 찾지 못해 진행이 되지 않았습니다.</p><h3>삽질3</h3><p>특정 프로그램으로 부팅 디스크를 만들면 위 단계를 패스할 수 있다는 글을 보고 재도전 합니다. Ubuntu Server는 어떻게 설치 했는데 WiFi를 설정할수가 없었습니다. 콘솔만 있으니 더 어려웠고 WiFi를 잡는 커맨드는 apt-get으로 설치를 해야한다고 나옵니다. Desktop으로 돌아가기로 합니다.</p><h3>해결</h3><p>다시 Ubuntu Desktop으로 돌아오고 login loop 이라는 키워드와 함께 구글링을 해봤습니다. 아래와 같은 3개의 커맨드를 얻었습니다. (<a href="https://askubuntu.com/a/848668">https://askubuntu.com/a/848668</a>)</p><blockquote>sudo ubuntu-drivers list</blockquote><p>이러면 설치가 가능한 nvidia driver 가 출력됩니다.<br>설치해봤습니다.</p><blockquote>sudo ubuntu-drivers auto install</blockquote><p>순조롭게 설치가 됐습니다.<br>설명대로 마무리 커맨드를 넣습니다.</p><blockquote>sudo service lighted restart</blockquote><p>로그인을 해봅니다.<br>그런데 뭔가 이상하게 검은 화면만 나오고 진행이 되지 않았습니다.<br>재부팅을 해보니 다행히 정상 동작합니다.</p><p>마지막으로 드라이버를 확인해봅니다.</p><blockquote>nvidia-smi</blockquote><p>드디어 정상 설치된 정보가 출력됩니다. 감격 ㅠㅠ</p><p>딥러닝 입문하시는 분들 중에 nvidia 드라이버 설치에 난항을 겪으시는 분들이 계시다면 위 커맨드를 참고해보세요.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a19824734c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MacOSX에서 Docker Memory 체크 삽질기]]></title>
            <link>https://medium.com/@leegeng/macosx%EC%97%90%EC%84%9C-docker-memory-%EC%B2%B4%ED%81%AC-%EC%82%BD%EC%A7%88%EA%B8%B0-ab3478eb26b8?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab3478eb26b8</guid>
            <category><![CDATA[lunit]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[digital-pathology]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Thu, 19 Jul 2018 14:42:19 GMT</pubDate>
            <atom:updated>2018-07-19T14:42:19.914Z</atom:updated>
            <content:encoded><![CDATA[<p>현재 재직 중인 <a href="https://lunit.io/">Lunit Inc.</a>에서는 Docker Container를 활용하여 개발 및 배포를 하고 있는데, 최근에 참석한 Conference에서 Digital Pathology 제품의 Demo로 만든 프로젝트를 Mac 장비에 Docker로 띄워야 할 일이 있었다. 개발 단계에서는 로컬에서 django 서버를 띄워서 사용했기 때문에 별문제가 없었는데 Demo를 띄우기 위해 Docker에 Container를 띄우니 메모리가 부족해서 uwsgi 프로세스가 계속 죽는 문제가 발생했다.</p><blockquote>문제의 원인은 메모리 부족이었다.</blockquote><p>Demo에서는 Whole Slide Image(WSI)를 분석한 결과를 다양한 형태로 Visualization 해주는데 이때 응답을 주기 위해 메모리로 올리는 데이터가 Gigabyte 단위였기 때문에 발생한 문제였다.</p><p>그렇다면 리눅스 서버에서는 잘 되던 것이 왜 Mac 장비에서는 문제가 발생한 것일까?</p><p>해답은 Docker 설정에서 찾을 수 있었다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*X0fyAi9AixuDfMJuiiL7oQ.png" /></figure><p>리눅스 서버에서는 별도로 메모리를 잡아주지 않아도 Host의 메모리를 모두 사용할 수 있었지만 Mac에서는 가상화를 하다 보니 Virtual Machine을 올리듯이 리소스에 대한 설정을 해주는 부분이 있었던 것이다.</p><p>여기서 메모리를 적당하게 잡아주면서 메모리 부족으로 인한 프로세스 종료는 잡을 수 있게 됐다. 이제는 Demo에서 제품화를 준비 중이기 때문에 분석 결과의 응답을 최적화하고 메모리를 많이 쓰지 않도록 개선을 진행하고 있다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab3478eb26b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[내가 쓰는 월간 앱 현황 — 2018년 7월]]></title>
            <link>https://medium.com/@leegeng/%EB%82%B4%EA%B0%80-%EC%93%B0%EB%8A%94-%EC%9B%94%EA%B0%84-%EC%95%B1-%ED%98%84%ED%99%A9-2018%EB%85%84-7%EC%9B%94-aa89e9952238?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa89e9952238</guid>
            <category><![CDATA[iphone-apps]]></category>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Tue, 10 Jul 2018 07:55:55 GMT</pubDate>
            <atom:updated>2018-07-10T07:55:55.165Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtFuubx5qZrCoZceEmyocQ.png" /></figure><h3>New Apps</h3><p>첫 페이지에 10개가 넘는 App이 추가되고 삭제되는 대격변이 일어났다. 지난 4월까지 이 포스팅을 해오다가 아기가 태어나면서 정신없고 바쁜 나날을 보내고나니 명확하게 사용하는 것과 사용하지 않는 것이 구분됐다. 그리고 최근에 구독 결제를 하거나 유료로 구매한 생산성 App들을 늘어놓고 나만의 생산성 파이프라인을 그려봤고, 그 결과로 중복되는 App을 정리하게 되면서 주로 생산성 App에서 큰 변화를 주게 됐다.</p><h4>BabyTime</h4><ul><li><a href="https://itunes.apple.com/kr/app/babytime-%EC%95%84%EA%B8%B0-%EC%9C%A1%EC%95%84-%EA%B8%B0%EB%A1%9D-%EB%B6%84%EC%84%9D-%EB%B2%A0%EC%9D%B4%EB%B9%84%ED%83%80%EC%9E%84/id1052459780?mt=8">Simfler Inc.의 BabyTime (아기 육아 기록&amp;분석, 베이비타임)</a></li><li>신생아 육아를 한다면 필수 App이라고 생각하고 주변에도 열심히 추천하고 있다. 수유 간격과 밤잠 체크를 하는 초보 부모들에게 큰 도움이 될 것 같다.</li></ul><h4>Firefox</h4><ul><li><a href="https://itunes.apple.com/kr/app/firefox-%EC%9B%B9-%EB%B8%8C%EB%9D%BC%EC%9A%B0%EC%A0%80/id989804926?mt=8">Mozilla의 Firefox 웹 브라우저</a></li><li><a href="https://www.nytimes.com/2018/06/20/technology/personaltech/firefox-chrome-browser-privacy.html">Firefox가 돌아왔다는 글</a>을 보고 오랜만에 써보게 됐다. 일단 크롬 사용자로서 파이어폭스를 추가로 사용하는 목적은 회사에서 사용하는 브라우저와 개인 브라우저를 나누기 위함이다. 개인적으로는 크롬을 사용하는데 회사에서도 크롬을 쓰게되면 유저를 나눠서 사용해야하는 불편함이 있고, 회사 링크를 개인적으로 사용하는 브라우저에서 자동완성하고 싶지는 않았다. 역할 구분을 명확히 하기 위해 파이어폭스와 크롬을 같이 쓰게 됐지만 꽤 쓸만 한 것 같기도 하다.</li></ul><h4>Google Keep</h4><ul><li><a href="https://itunes.apple.com/kr/app/google-keep/id1029207872?mt=8">Google, Inc.의 Google Keep</a></li><li>가끔씩 단순 메모용도로만 사용하다가 이번에 생산성 App 정리하면서 다시 읽어볼 링크 보관과 아이디어 노트 작성 용도로 변경했다. 아이폰에서 공유하기를 누르면 나오는 “Google Keep으로 열기”를 하면 링크의 타이틀과 링크 URL이 Keep 메모로 저장된다. 기본적으로 #ReadItLater 레이블을 붙여서 모아서 확인 후, 중요한 내용이나 체크가 필요한 포인트는 따로 보충해서 보관한다.</li></ul><h4>Medium</h4><ul><li><a href="https://itunes.apple.com/kr/app/medium/id828256236?mt=8">A Medium Corporation의 Medium</a></li><li>읽을만한 개발 블로그가 많아서 자주 보고 있는 서비스이다. 한글 포스팅이 적기는 하지만 꽤 좋은 내용의 글이 많다.</li></ul><h4>Google Tasks</h4><ul><li><a href="https://itunes.apple.com/kr/app/google-tasks-%ED%95%A0-%EC%9D%BC-%EC%99%84%EB%A3%8C%ED%95%98%EA%B8%B0/id1353634006?mt=8">Google, Inc.의 Google Tasks: 할 일 완료하기</a></li><li>Todo 앱은 정말 많고 여러가지 써봤지만 딱 와닿는 서비스는 사실 없었다. 이전에 Things3를 아이폰, 아이패드, 맥버전 모두 구매해서 써봤지만 막상 써보면 관리가 잘 안되는 편이었다. 너무 다양한 기능을 제공했기 때문일까? 정말 별거 없는 Google Tasks를 써보게 된 이유는 심플함이다. 리스트를 여러 개 만들 수 있지만 한 번에 하나의 리스트만 볼 수 있고 Todo 관리에 마감일 정도 넣는 심플함. 게다가 최근에 앱이 리뉴얼되어 이전에 쥐메일에 붙어있는 구시대 ui가 아니다. 물론 웹에서는 그 ui가 그대로 쓰이고 있지만 이것도 gmail에서 새 ui를 쓰는 옵션을 쓰면 보기 좋게 메일 우측에 서브 메뉴로 제공된다. 접근성은 Google인만큼 좋고, 무료이다.</li></ul><h4>Trello</h4><ul><li><a href="https://itunes.apple.com/kr/app/trello/id461504587?mt=8">Trello, Inc.의 Trello</a></li><li>아마 많은 사람들이 알고 있고 업무에 많이 쓰일 것으로 생각되는 Task 관리 서비스이다. 지금까지 모든 직장에서 이 서비스를 이용했는데 현재 직장에서는 Jira를 사용하고 있어서 개인용도로만 쓰게 됐다. 주로 블로그 포스팅을 위한 파이프라인을 관리하고 토이 프로젝트에 대한 이슈 관리 용도로 사용하려고 하고 있다.</li></ul><h4>YT Music</h4><ul><li><a href="https://itunes.apple.com/kr/app/youtube-music/id1017492454?mt=8">Google, Inc.의 YouTube Music</a></li><li>Youtube Red가 한창 나올 때 궁금해서 결제를 했다. 아내가 벅스 뮤직을 결제해서 쓰고 있지만 나는 나름대로 유튜브 뮤직을 잘 사용하고 있다. 큐레이션도 나쁘지 않은 것 같은데 다만 자주 듣던 음악이 정말 더 자주 나오는 점은 좋기도하고 아쉽기도 하다.</li></ul><h4>Youtube</h4><ul><li><a href="https://itunes.apple.com/kr/app/youtube/id544007664?mt=8">Google, Inc.의 YouTube</a></li><li>Youtube를 광고 없이 본다는 것은 정말 신세계인 것 같다. 평소 이러저러한 영상을 시간 남을 때 생각나면 보곤 했는데 이제는 페이스북이나 카카오톡 채널탭보다 더 자주 유튜브를 보게 되는 것 같다. 최근에는 무제한 요금제로 바꾸면서 잘 사용하지는 않지만 영상을 저장해서 오프라인으로 보는 것도 출퇴근 시간에는 꽤 애용하는 기능이다.</li></ul><h4>Apple Wallet</h4><ul><li>Apple 기본앱</li><li>국내에서는 딱히 쓸 일이 없어서 구석에 쳐박아두던 아이콘을 꺼내게 된건 <a href="https://www.myapplewallet.com/pass/list">마이애플월렛</a>을 알게 된 이후이다. 멤버십 카드를 모아서 관리할 수 있고 한 번 발급해두면 네트워크를 추가로 태우지 않아도 되어 빠르게 열 수 있다. 위젯에서 여는 앱도 사용해봤지만 바로 바코드가 뜨지 않기 때문에 월렛이 좀 더 빠른 느낌이 들어 갈아타게 됐다.</li></ul><h4>WorkFlowy</h4><ul><li><a href="https://itunes.apple.com/kr/app/workflowy/id551139514?mt=8">FunRoutine INC의 WorkFlowy</a></li><li>디자인은 약간 투박할 수 있으나 유즈케이스를 잘 보면 어떻게 잘 쓸 수 있을지 이해할 수 있는 생산성 서비스이다. 개인적으로는 아이디어의 개요를 나열하거나 브레인스토밍을 할 때 사용하고 있다. 단순하게 계층형 item을 작성하는 서비스지만 태그를 이용한 부분과 Item 단위로 확대해서 볼 수 있는 점은 일반적인 문서 편집기에서 bullet 스타일을 쓰는 것과는 조금 다른 것 같다.</li></ul><h4>Google Calendar</h4><ul><li><a href="https://itunes.apple.com/kr/app/google-%EC%BA%98%EB%A6%B0%EB%8D%94/id909319292?mt=8">Google, Inc.의 Google 캘린더</a></li><li>기존에 사용하던 Jubilee TimeTree의 기능을 전혀 사용하지 않고 Google Calendar의 내용을 그냥 보여주기만 하는 상황에 때마침 iPhoneX 해상도 대응을 해주면서 다시 메인으로 사용하게 됐다.</li></ul><h3>Goodbye Apps</h3><ul><li>280days</li><li>DayGram</li><li>Evernote</li><li>네이버뮤직</li><li>Notion</li><li>Things</li><li>메시지</li><li>벅스</li><li>카카오뱅크</li><li>호갱노노</li><li>Jubilee TimeTree</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa89e9952238" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[내가 쓰는 월간 앱 현황 — 2018년04월]]></title>
            <link>https://medium.com/@leegeng/%EB%82%B4%EA%B0%80-%EC%93%B0%EB%8A%94-%EC%9B%94%EA%B0%84-%EC%95%B1-%ED%98%84%ED%99%A9-2018%EB%85%8404%EC%9B%94-9ab5ecdb7302?source=rss-1014e3da27b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ab5ecdb7302</guid>
            <dc:creator><![CDATA[Kyoungwon Lee]]></dc:creator>
            <pubDate>Sat, 07 Apr 2018 07:15:17 GMT</pubDate>
            <atom:updated>2018-04-07T07:19:56.371Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ToMGGsJDKWUvlfcT1QtLGw.png" /></figure><h3>New Apps</h3><ul><li><a href="https://itunes.apple.com/kr/app/google-%ED%8F%AC%ED%86%A0-%EC%82%AC%EC%A7%84-%EB%B0%8F-%EB%8F%99%EC%98%81%EC%83%81-%EC%A0%80%EC%9E%A5%EA%B3%B5%EA%B0%84/id962194608?mt=8">Google 포토</a><br>메인으로 사용하는 사진 보관앱에 변화가 생겼다. 이전에도 구글 드라이브 유료 결제로 사진 동기화는 사용하고 있었지만 가끔 동기화 목적으로만 앱을 사용했었다. 변화의 가장 큰 포인트는 아래와 같다.<br> * 라이브 포토를 영상으로 뽑아 볼 수 있는 기능<br> * 사진 삭제 시 로컬에 있는 사진도 함께 제거 가능<br>가끔 사진을 기본 카메라 앱으로 찍게 되면 사진이 포착된 순간 앞뒤로 재미있는 상황이 생기거나 오히려 더 괜찮은 구도나 표정이 나오는 경우도 있기 때문에 이럴 때 라이브 포토를 동영상으로 뽑아두곤 한다. 이제 곧 나올 아기를 찍어줄 때도 잘 사용하지 않을까 하는 생각이 들어 자주 사용하는 앱으로 빼놓게 됐다.</li><li><a href="https://itunes.apple.com/kr/app/daygram/id977949232?mt=8">DayGram</a><br>얼마 전에 무료로 잠시 풀렸던 시기에 받아둔 일기 앱이다. 원래는 Day One을 빼놓고 쓰려고 했지만 잘 사용하지 않았던 차에 궁금했던 DayGram이 무료로 풀려서 사용하게 됐다. (물론 아직 제대로 일기를 쓰지는 않는다…)<br>가장 괜찮게 느껴진 기능은 온전히 하루에 포커스된 글쓰기 화면과 현재 시간을 바로 입력할 수 있는 버튼이었다.<br>뭔가 하루 전체를 되돌아보며 쓰는 일기 외에도 그때그때 느낌이나 생각을 시간과 함께 기록하는 데일리 로그와 같은 글을 쓸 수 있다.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h5WH4owHceWtyDR8NeB1rg.png" /></figure><h3>Goodbye Apps</h3><p>대부분 비슷한 기능의 대체앱으로 인해 삭제 되어 추가적인 코멘트는 생략 합니다.</p><ul><li>Day One</li><li>사진</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ab5ecdb7302" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>