<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IT and Technology on kenji.blog</title><link>http://kenji.blog/en/categories/it-and-technology/</link><description>Recent content in IT and Technology on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Thu, 17 Apr 2025 10:33:02 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/categories/it-and-technology/index.xml" rel="self" type="application/rss+xml"/><item><title>Number of Lines of Source Code</title><link>http://kenji.blog/en/p/%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E8%A1%8C%E6%95%B0/</link><pubDate>Thu, 17 Apr 2025 10:33:02 +0900</pubDate><guid>http://kenji.blog/en/p/%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E8%A1%8C%E6%95%B0/</guid><description>&lt;img src="http://kenji.blog/p/%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E8%A1%8C%E6%95%B0/img_1.png" alt="Featured image of post Number of Lines of Source Code" />&lt;h1 id="number-of-lines-of-source-code">Number of Lines of Source Code
&lt;/h1>&lt;p>Hello!&lt;/p>
&lt;p>Today, I would like to talk about a slightly unusual theme.&lt;/p>
&lt;p>It&amp;rsquo;s about &amp;ldquo;How much has the number of lines of source code increased compared to the past?&amp;rdquo;&lt;/p>
&lt;p>For example, the space shuttle&amp;rsquo;s software consisted of about 420,000 lines of code. This code was developed with very strict processes to meet NASA&amp;rsquo;s high quality standards. On the other hand, in modern large-scale software projects, it is not uncommon for the number of lines of code to exceed tens of millions. For instance, Google&amp;rsquo;s codebase is said to reach about 2 billion lines.&lt;/p>
&lt;p>In this way, the scale of software has grown along with the times.&lt;/p>
&lt;p>But, wait a minute.&lt;/p>
&lt;p>An increase in the number of lines of code is not necessarily a bad thing. In order to add new features or meet user needs, it is natural for code to increase. However, as the code increases, the risk of bugs also rises. In fact, a study shows that when open source projects exceed 1 million lines, the incidence of bugs tends to increase.&lt;/p>
&lt;p>That being said, not all projects are increasing code in the same way.&lt;/p>
&lt;p>For example, the Linux kernel had about 200,000 lines in version 1.0 in 1994, but increased to about 20 million lines in version 4.2 in 2015. This increase is to accommodate the evolution of hardware and the addition of new features.&lt;/p>
&lt;p>So, the number of lines of source code varies greatly depending on the scale and purpose of the project, as well as the historical context.&lt;/p>
&lt;p>The increase in lines of code itself is not a problem, but appropriate management is necessary to maintain quality and maintainability. It is important to understand the risks associated with the increase in code and take appropriate measures.&lt;/p>
&lt;p>Finally, I think it&amp;rsquo;s important not to get too caught up in the number of lines of code, but to focus on the purpose and quality of the project.&lt;/p>
&lt;p>Well then, see you next time!&lt;/p></description></item><item><title>The Story of the Old Couple and the Donkey</title><link>http://kenji.blog/en/p/%E8%80%81%E5%A4%AB%E5%A9%A6%E3%81%A8%E3%83%AD%E3%83%90%E3%81%AE%E8%A9%B1/</link><pubDate>Wed, 18 Sep 2024 00:56:59 +0900</pubDate><guid>http://kenji.blog/en/p/%E8%80%81%E5%A4%AB%E5%A9%A6%E3%81%A8%E3%83%AD%E3%83%90%E3%81%AE%E8%A9%B1/</guid><description>&lt;img src="http://kenji.blog/p/%E8%80%81%E5%A4%AB%E5%A9%A6%E3%81%A8%E3%83%AD%E3%83%90%E3%81%AE%E8%A9%B1/img.png" alt="Featured image of post The Story of the Old Couple and the Donkey" />&lt;h2 id="the-old-couple-the-donkey-and-our-problem-of-whose-voice-to-listen-to">The Old Couple, the Donkey, and Our Problem of &amp;ldquo;Whose Voice to Listen To&amp;rdquo;
&lt;/h2>&lt;p>Hello!&lt;/p>
&lt;p>Today, I wanted to write about something I thought about from &amp;ldquo;The Story of the Old Couple and the Donkey.&amp;rdquo;&lt;/p>
&lt;p>I&amp;rsquo;m sure many of you have heard of it. It&amp;rsquo;s that famous fable.&lt;/p>
&lt;hr>
&lt;h3 id="what-is-the-story-of-the-old-couple-and-the-donkey">What is &amp;ldquo;The Story of the Old Couple and the Donkey&amp;rdquo;?
&lt;/h3>&lt;p>Once upon a time, there was an old couple and a donkey.&lt;/p>
&lt;p>At first, the old man rode the donkey, and the old woman walked. Then, a passerby said,&lt;/p>
&lt;p>&amp;ldquo;What a man, letting his old wife walk while he rides!&amp;rdquo;&lt;/p>
&lt;p>Hearing this, the old couple decided that the old woman would ride the donkey instead. Then, another person said,&lt;/p>
&lt;p>&amp;ldquo;It&amp;rsquo;s outrageous for a woman to ride the donkey and make the man walk!&amp;rdquo;&lt;/p>
&lt;p>Well then, they decided they would both ride the donkey. Then again, someone said,&lt;/p>
&lt;p>&amp;ldquo;Poor donkey, it&amp;rsquo;s too heavy carrying two people!&amp;rdquo;&lt;/p>
&lt;p>If that&amp;rsquo;s the case, they both got off the donkey and started walking. Then this time&amp;hellip;&lt;/p>
&lt;p>&amp;ldquo;Why is no one riding the donkey when you have one?&amp;rdquo;&lt;/p>
&lt;p>Ultimately, the old couple was at a loss.&lt;/p>
&lt;hr>
&lt;h3 id="listen-to-everyones-opinion-is-certainly-a-valid-argument-but">&amp;ldquo;Listen to everyone&amp;rsquo;s opinion&amp;rdquo; is certainly a valid argument. But&amp;hellip;
&lt;/h3>&lt;p>This story is often taken as a moral lesson like, &amp;ldquo;Oh, there&amp;rsquo;s no end to it if you keep worrying about what others think.&amp;rdquo;&lt;/p>
&lt;p>But reality isn&amp;rsquo;t that simple, is it?&lt;/p>
&lt;p>There are often people who say, &amp;ldquo;Don&amp;rsquo;t care about what others think!&amp;rdquo;&lt;/p>
&lt;p>But it&amp;rsquo;s a bit difficult to ignore everything completely. For example, when posting something on social media. When thinking about what to say at a company drinking party. You inevitably care about someone&amp;rsquo;s reaction.&lt;/p>
&lt;p>Because &amp;ldquo;other people&amp;rsquo;s opinions&amp;rdquo; sometimes affect our safety and evaluation.&lt;/p>
&lt;hr>
&lt;h3 id="that-being-said-being-swayed-too-much-becomes-painful">That being said, being swayed too much becomes painful
&lt;/h3>&lt;p>The old couple in this story probably just wondered &amp;ldquo;What should we do?&amp;rdquo; at first.&lt;/p>
&lt;p>But no matter what, &amp;ldquo;someone&amp;rdquo; will complain.&lt;/p>
&lt;p>And as you start going in circles saying, &amp;ldquo;Then let&amp;rsquo;s do this next,&amp;rdquo; &amp;ldquo;Maybe it&amp;rsquo;s this?&amp;rdquo;, you lose sight of what you want to do.&lt;/p>
&lt;p>This is a common occurrence in our daily lives as well.&lt;/p>
&lt;p>The expectations of bosses, the words of parents, the number of &amp;ldquo;likes&amp;rdquo; on social media. Have you ever lost track of what you really want to do while adapting to them?&lt;/p>
&lt;hr>
&lt;h3 id="its-important-to-choose-whose-voice-to-listen-to">It&amp;rsquo;s important to choose &amp;ldquo;whose voice to listen to&amp;rdquo;
&lt;/h3>&lt;p>So, what should we do? There is no correct answer.&lt;/p>
&lt;p>However, &amp;ldquo;following everyone&amp;rsquo;s opinion&amp;rdquo; is realistically impossible.&lt;/p>
&lt;p>That&amp;rsquo;s why I think it&amp;rsquo;s important to choose &amp;ldquo;whose voice to listen to&amp;rdquo; for yourself.&lt;/p>
&lt;p>For example, &amp;ldquo;Listen only to the advice of people you respect&amp;rdquo; or &amp;ldquo;Use whether your past self would agree as a standard.&amp;rdquo;&lt;/p>
&lt;p>Having even just one standard that you &amp;ldquo;want to believe in&amp;rdquo; will reduce the noise of the world a little bit.&lt;/p>
&lt;hr>
&lt;h3 id="so-when-you-are-a-little-tired">So, when you are a little tired
&lt;/h3>&lt;p>It might be good to remember the story of &amp;ldquo;The Old Couple and the Donkey.&amp;rdquo;&lt;/p>
&lt;p>We tend to worry about what others think, don&amp;rsquo;t we?&lt;/p>
&lt;p>But if you try to respond to everything, you&amp;rsquo;ll end up getting off the donkey too.&lt;/p>
&lt;p>Sometimes, if you can think, &amp;ldquo;Maybe it&amp;rsquo;s okay to prioritize my own feelings.&amp;rdquo; Your heart might feel just a little bit lighter.&lt;/p>
&lt;hr></description></item><item><title>How to download YouTube videos with yt-dlp.exe</title><link>http://kenji.blog/en/p/yt-dlp.exe-%E3%81%AB%E3%82%88%E3%82%8B-youtube-%E5%8B%95%E7%94%BB%E3%81%AE%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E6%96%B9%E6%B3%95/</link><pubDate>Tue, 03 Sep 2024 14:09:26 +0900</pubDate><guid>http://kenji.blog/en/p/yt-dlp.exe-%E3%81%AB%E3%82%88%E3%82%8B-youtube-%E5%8B%95%E7%94%BB%E3%81%AE%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E6%96%B9%E6%B3%95/</guid><description>&lt;img src="http://kenji.blog/p/yt-dlp.exe-%E3%81%AB%E3%82%88%E3%82%8B-youtube-%E5%8B%95%E7%94%BB%E3%81%AE%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E6%96%B9%E6%B3%95/img_1.png" alt="Featured image of post How to download YouTube videos with yt-dlp.exe" />&lt;h1 id="what-is-yt-dlp">What is yt-dlp?
&lt;/h1>&lt;p>&lt;code>yt-dlp&lt;/code> is a command-line tool for downloading YouTube videos.
Not only can you download videos, but you can also download them as music files in mp3 format.&lt;/p>
&lt;h2 id="download-and-install">Download and Install
&lt;/h2>&lt;ol>
&lt;li>Download the latest yt-dlp.exe from the &lt;a class="link" href="https://github.com/yt-dlp/yt-dlp/releases" target="_blank" rel="noopener"
>yt-dlp releases page&lt;/a>.&lt;/li>
&lt;li>Place yt-dlp.exe in a folder of your choice.&lt;/li>
&lt;li>Add the folder path of yt-dlp.exe to the Path environment variable.&lt;/li>
&lt;/ol>
&lt;h2 id="usage">Usage
&lt;/h2>&lt;p>Run yt-dlp.exe in the command prompt and specify the URL of the YouTube video.&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">yt-dlp.exe &amp;#34;https://www.youtube.com/watch?v=VIDEO_ID&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;ul>
&lt;li>Passing just the VIDEO_ID part as an argument is also OK.&lt;/li>
&lt;/ul>
&lt;p>If you want to download it as an mp3 music file, run the following command.&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">yt-dlp.exe --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata &amp;#34;https://www.youtube.com/watch?v=VIDEO_ID&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>The video will be downloaded to the current directory where you executed the command.&lt;/p>
&lt;p>That&amp;rsquo;s it.&lt;/p></description></item><item><title>About fontplus.jp</title><link>http://kenji.blog/en/p/fontplus.jp/</link><pubDate>Tue, 07 Feb 2023 20:59:01 +0900</pubDate><guid>http://kenji.blog/en/p/fontplus.jp/</guid><description>&lt;img src="http://kenji.blog/p/fontplus.jp/img.png" alt="Featured image of post About fontplus.jp" />&lt;h1 id="fontplusjp-a-service-for-using-paid-web-fonts">fontplus.jp, a service for using paid web fonts
&lt;/h1>&lt;p>&lt;a class="link" href="https://fontplus.jp/" target="_blank" rel="noopener"
>https://fontplus.jp/&lt;/a>&lt;/p>
&lt;p>For 1,100 yen per month, you can use all fonts, and it supports usage across multiple websites.&lt;/p></description></item></channel></rss>