<?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 Kazuya Takahashi on Medium]]></title>
        <description><![CDATA[Stories by Kazuya Takahashi on Medium]]></description>
        <link>https://medium.com/@KazuYaTaka?source=rss-926768b3efd5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*E9kXteXt0XN5xW_60ECMGQ.jpeg</url>
            <title>Stories by Kazuya Takahashi on Medium</title>
            <link>https://medium.com/@KazuYaTaka?source=rss-926768b3efd5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 02:37:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@KazuYaTaka/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[How to get Location on iOS?]]></title>
            <link>https://medium.com/@KazuYaTaka/how-to-get-location-on-ios-5d9a111bb277?source=rss-926768b3efd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d9a111bb277</guid>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Kazuya Takahashi]]></dc:creator>
            <pubDate>Tue, 18 Jun 2019 21:51:50 GMT</pubDate>
            <atom:updated>2019-06-18T21:51:50.138Z</atom:updated>
            <content:encoded><![CDATA[<p>How to get Location on iOS?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*E9NmXZ92ZZNObwsosun_lg.png" /></figure><p>Sometimes, We have to get the location point for creating Apps.<br>When I wanna do this, I don’t know what should I do.<br>So I create this report.</p><p>This is the source code.</p><p>At first, Should be edited info.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/37b2379f627755bbde1606092e81cf8e/href">https://medium.com/media/37b2379f627755bbde1606092e81cf8e/href</a></iframe><p>And then, add CoreLocation,framework to Linked FrameWorks Library</p><p>Like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0q6hO4D9JJzXTvdh-i6GpQ.png" /></figure><p>Finally , Let&#39;s modify ViewController!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/34478b1e557d6a4f6640ea6c91e00ade/href">https://medium.com/media/34478b1e557d6a4f6640ea6c91e00ade/href</a></iframe><p>This is the output, example place is Tokyo, Japan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bG_qpDrzEONRT953FDJUGg.png" /></figure><p>To set delegate and calling locationManager method is the point.</p><p>And must be care about checking .authorizationStatus before call method.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d9a111bb277" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do I create CRAWLER by Java?]]></title>
            <link>https://medium.com/@KazuYaTaka/how-do-i-create-crawler-by-java-99dbaf1718c3?source=rss-926768b3efd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/99dbaf1718c3</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[scraping]]></category>
            <category><![CDATA[jsoup]]></category>
            <category><![CDATA[crawler]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Kazuya Takahashi]]></dc:creator>
            <pubDate>Sun, 02 Dec 2018 09:32:09 GMT</pubDate>
            <atom:updated>2018-12-03T01:15:37.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*K71PmE6At-TeWSy_cbgiJA.jpeg" /></figure><p>Last week , I finished final project in Java class.</p><p>Our project is the gift recommender which recommend gift from gift site decided by personal data.</p><p>I gave presentation about it, and got question about crawler which is made by Java.</p><p>So , I repot it here.</p><p>I created crawler to get article titles from Medium like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/982174c99f1614f097b664d6254aa2d2/href">https://medium.com/media/982174c99f1614f097b664d6254aa2d2/href</a></iframe><p>It&#39;s really simple one.</p><p>I use Jsoup to create crawler really nice library from OSS.</p><p><strong>First line</strong> , I got all of HTML Document form url, of course it can be write directory like this &quot;<a href="https://medium.com/search?q=Java">search?q=Java</a>&quot; .</p><p>But to use data method is more clearly and changeable.</p><p><strong>Second line</strong> , to get Elements which has Class name &quot;graf--title&quot; for getting title name. Story title is covered by div tag which has class &quot;graf--title&quot; on HTML.</p><p>Also It can be use a lot of method to get Elements like a &quot;getElemetsById&quot; and &quot;getElementsByAttribute&quot; and more, It should be chosen by purpose.</p><p><strong>Third line to sixth line </strong>, just out put each title , That&#39;s all.</p><h3><strong><em>Summary</em></strong></h3><ol><li>To get HTML Document from Web site with Jsoup.connection.</li><li>To get any information from HTML tag or Class name or something from getElementsBy~ method.</li><li>Use it , show it , you can do.</li></ol><p>Reference</p><ul><li><a href="https://jsoup.org/">jsoup Java HTML Parser, with best of DOM, CSS, and jquery</a></li><li><a href="https://github.com/Shiozaki-s21/JavaScraping">Shiozaki-s21/JavaScraping</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99dbaf1718c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do I make random number in JavaScript]]></title>
            <link>https://medium.com/@KazuYaTaka/how-do-i-make-random-number-in-javascript-ddb06fe94f62?source=rss-926768b3efd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddb06fe94f62</guid>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Kazuya Takahashi]]></dc:creator>
            <pubDate>Tue, 20 Nov 2018 22:43:21 GMT</pubDate>
            <atom:updated>2018-11-20T22:43:21.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWVPkWKR_95Jqplqk_kVJQ.png" /></figure><p>When I was making app as a practice for React native, I get stacked.</p><p>That&#39;s why, That app need to get Random number , but I don&#39;t know how to make Random number in Javascript , so I research it and report it.</p><p>Let me get straight to the point, Javascript has Math class like a Java.</p><p>Look this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e140299ac6528d8e1ea979724172cb6/href">https://medium.com/media/7e140299ac6528d8e1ea979724172cb6/href</a></iframe><p>This code return number 0 to 1 as a float.</p><p>So, When I get random number 0 to 100 , I should write like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/856cc85f514e3a8305c8067a22ae384d/href">https://medium.com/media/856cc85f514e3a8305c8067a22ae384d/href</a></iframe><p>That&#39;s all , it&#39;s really easy.</p><p>Additionally...</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e1d18f8ed1d1b50318ecc0cd0690d35c/href">https://medium.com/media/e1d18f8ed1d1b50318ecc0cd0690d35c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddb06fe94f62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s the difference between “let” and “var”?]]></title>
            <link>https://medium.com/@KazuYaTaka/whats-the-difference-between-let-and-var-34210663f571?source=rss-926768b3efd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/34210663f571</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Kazuya Takahashi]]></dc:creator>
            <pubDate>Tue, 13 Nov 2018 22:56:59 GMT</pubDate>
            <atom:updated>2018-11-13T22:56:59.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o7lrcI3cvOtot5kMb2QOrA.png" /></figure><p>In these days , I start to use React native, but I don’t know about JavaScript.</p><p>This is the research article for JavaScript , When I Study it.</p><p>When I declare variable on Javascript, I can put “let” or “var”.</p><p>For me , always put “var”, but What is the “let”?</p><p>I have to research it, so just write code like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7521eb3a1e98266b42377f1ba36d1ac8/href">https://medium.com/media/7521eb3a1e98266b42377f1ba36d1ac8/href</a></iframe><p>And this is the result.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a00af2023c2dde3732ddfb1c148c6ac/href">https://medium.com/media/4a00af2023c2dde3732ddfb1c148c6ac/href</a></iframe><p>“var” is the variable which can be effective in the whole code.</p><p>but “let” is the variable which can be effective in the code block.</p><p>And both variable goes to inside block from outside, still effective.</p><p>In addition, “let” has more future than “var” , like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c0b07f03f4c77841badf7ca9ca64e5a/href">https://medium.com/media/2c0b07f03f4c77841badf7ca9ca64e5a/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a7b54180869631d51f011a51ccf817f/href">https://medium.com/media/9a7b54180869631d51f011a51ccf817f/href</a></iframe><p>I can declare same variable name as a “var”, but for “let” , it’s impossible.</p><p>In conclusion, I should use “let” basically, it’s more useful and organized.</p><p>I uploaded to all of this code to research let and var.</p><p><a href="https://github.com/Shiozaki-s21/JavaScript">Shiozaki-s21/JavaScript</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34210663f571" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>