Saturday, December 28, 2024

Wrinting a letter is like a game

As a traditional Japanese culture for a New Year greeting, there is Nenga-jo, a letter on the New Year term. Nenga-jo has some writing manners. One should avoid using commas and periods because these mean stopping and ends. I do not make sense but it is a manner. I need to make appropriate sentences that mean everything I want to convey. If I use commas and periods, people who receive my letter will think I have no idea about manners. It is like a game with a limitation. This case limits short sentences while these mean everything I want to say. 
On the other hand, ignoring the manner might be justice. Maybe, this manner naturally occurred in people who stopped manually writing long sentences to many addresses. Writing messages is hard work surely. If the manner did not exist, many people would give up. So, the manner looked reasonable. But now, we can use a printer instead of writing something by hand. So, we do not need the manner. A lot of messages can be put into a letter. 
In addition, in recent years, many people have stopped sending Nenga-jo letters. That means people who receive them tend to be less. So, people get more time to read each letter. 
My conclusion is that putting a lot of messages into a letter is righteous because the letter is a good opportunity to convey everything easily. 

Thursday, December 26, 2024

Balance

I heard a story that is hard to tell if it is true or not, that instant foods these days are well-balanced in nutrition, and that people who eat them all the time are healthier than people who cook half-heartedly at home or eat in restaurants, but I like this story. I am probably not the only one who likes this kind of thing, but I think a lot of people like it. In my opinion, it is interesting to consider the stories that are hard to tell if they are true or not. It is like solving a mystery.

Sometimes, it is too much and not funny. This is clearly a lie told by a crazy person, and I just think it is childish or stupid. I do not correct the lie every time. I just ignore it.

What is good about it is that the stories told by drunk people or people with borderline intelligence have a background that makes them believable, but we have to think carefully to know if they're nonsense or not. It is like an interesting examination. The fun part is that sometimes adults seem to believe things without filtering them out. If they attend a drinking party, it is entertaining from the chaos.

Speaking of dubious stories, I think the theory about the speed at which Santa Claus travels that is said to be the norm is quite clever. It is said to be 8 million or 9 million kilometers per hour. There are several assumptions, but one is that Santa Claus travels alone. We must never think of it as a franchise like McDonald's. If we think of it as a franchise, the assumptions collapse with parallelization and you do not know what speed they're thinking about. In fact, since each household has one Santa Claus, it is okay to make this comment, but I do not want to criticize the assumptions of the game, and this is fine as a way to enjoy it. I want to know more about the kinds of playful and exquisite stories.

By the way, anyone with a suitable brain can understand the story about instant food at the beginning. If we eat a single food, some ingredients will pile up, and the balance will be broken. 
If we do not take other care, such as adding other ingredients, we will get sick. There is a balanced complete food, but it is not the kind of taste or texture that we can eat continuously. In the end, the conclusion is that it is good to eat a variety of things. 

It is good to eat meat, vegetables, and carbohydrates. I feel that likes and dislikes tend to be out of balance everywhere. There are people who judge not only food, but also things and relationships based on likes and dislikes alone, but for these people, well, Namu Amida Butsu.

Saturday, December 14, 2024

Slept

I drank many cups of Japanese sake in a friend's room and accidentally slept there. Surely, I was tired because I did not sleep well before the day. While I slept, another friend took care of me and bought a cup of noodles and bottled water for me in the early morning. 

I drank too much alcohol. Really I need to change. 

It was a perfect day. 


Saturday, December 7, 2024

Pushup

Pushup was my favorite workout but I had not done that in a long time. Yesterday, I had a chance to do pushups. My friend did pushups suddenly near me. I got stimulated by the action, and I did it together. While I could do that 50 times before, I now cannot do it 40 times. Time makes changes. I try to make my body that can do again. 

Friday, December 6, 2024

This week

I got good inspiration from a friend in a meeting. I have not attended any meetings frequently because I have been too busy. But I participated in this meeting because I reserved it before I got busy. I am lucky. I got a good opportunity. The inspiration pushes me forward. 

Sunday, December 1, 2024

First met Akira

I have heard the name of this movie, Akira, which is well-known as a high-impact movie. Some friends said that people who touch the graphics field need to watch it; however, I have not had a chance to watch it. Accidentally, I watched it on YouTube.

The movie was fantastic and represented unstable peace. The first section was like two curves of the stories and made the intersection of the two curves. But, the story was hidden. It was very mysterious. I did not know all. 

The next section was like developing the intersection into another dimension. In the term, many mysteries appeared, the answers came out, and the story was developed. 

The story to the last was chaos. 

I love SOL. 

Also, the representation of every light in the movie was great. Surely, it was the highest-impact animation in my life. 




Thursday, November 28, 2024

Contact

I try to do everything I want to do, but I don't have the capacity to do it all, so I have a crazy schedule. Due to this schedule, I haven't had enough time to update this blog lately. 

A few days ago, I received an email from a great, close friend who I lost the address by breaking my phone. This was a great happening in my life. I gave up contact once. So something quite exciting happened.

There were some other good things as well. Life is a place where bad things happen and good things happen too.

Friday, November 22, 2024

Low productivity

Productivity can be defined as the quality or quantity of results per given effort. Therefore, people say it is important to increase productivity at work and consider only productivity if you do anything.  
On the other hand, there have been many days when I have not gotten any results. I feel sad because the words remind me that the jobs are meaningless. But, I am a professional and I try to finish the jobs even if I know they are meaningless. 
Also, I am sad that there is no my side for the jobs. 

Wednesday, November 20, 2024

Life

Surely, I have a certain progress but it is too hard to make the progress. This is life. 

Monday, November 18, 2024

Carrot

When I ate fried rice at my favorite Chinese restaurant, I noticed that the carrots were very soft and had a nice texture. When I thought about the reason why it was good, I concluded that it was because it was cooked at a high temperature for a moment. When I think back on it, I realized that the carrots at the Chinese restaurant were soft.

Sunday, November 17, 2024

Physically tired

No matter how much I sleep, I cannot relieve my tiredness. My body feels heavy all the time.


Saturday, November 16, 2024

Breaking

My washing machine drainage became bad. 
I tried washing several parts to fix it, and a lot of dirt was removed but it did not work.
And, my hands are ruined from cleaning.

Friday, November 15, 2024

New trial

Everything is changing, but what I enjoy studying does not change. Now I have a new interest, and I am trying to start it. I knew any trial would not be easy, but I wanted to enjoy it. 


Thursday, November 14, 2024

Very sleepy

Very sleepy. My work has not ended. But, I feel happy. There are a lot of mysteries in the world, and they will make me happier. 

Wednesday, November 13, 2024

Sleepy

 Very sleepy. My work has not ended. 

Tuesday, November 12, 2024

Time

One of my favorite movies is Tokikake, but it was released in 2006, so even if I talk to current students about it, they won't understand because they haven't seen it in realtime. It's scary.

Monday, November 11, 2024

Bragging

Some people just brag. We can see everything about them because they want to show much of themselves. After we have seen everything, there will be no more content and that's where they lose interest. 

Too many people do not understand this mechanism. Humans are not naturally interested in other people. Maybe, being humble does not mean making ourselves smaller, it means not showing our bottom. I was tired of people bragging, so I realized this. 

Sunday, November 10, 2024

Mikan peel

My heart is tired, and I quickly run away to something easier. I have no way out, but I'm not motivated anymore. I want to enjoy sleeping or walking around for a while, but I must finish my work now. Because I feel that smell of mikan peel makes me wake up, I try to write codes I need with the peel. 

Saturday, November 9, 2024

Ramen at midnight

At midnight, I ate two bowls of ramen with friends. Those testes of the ramen were very delicious and I enjoyed a great time. Both the bowls of the ramen included a lot of backfat and rich Tonkotsu soup. The tastes were rich, and the flavors were also good but one had a unique pork bone smell strongly. Anyway, it was a great experience. 

But, the next day, I realized two bowls were too heavy for me. Those were like a time bomb. 

Friday, November 8, 2024

Difficult to keep working hard

I still need to work hard but it is very challenging because many people who disturb me appear. So, I need a power that kills the disturbed and keeps me. Maybe the power is not violence because it does not make good results. Maybe the power would be indifference. 

Thursday, November 7, 2024

Night

The day passes quickly. Every night comes soon. 

I found a restaurant in Shibuya that serves delicious miso ramen. It smelled like a high-quality cognac and was wonderful. Of course, there would be no alcohol in it. I think I'll go there when I work at night. Night comes soon. 

Wednesday, November 6, 2024

Coffee 907g ended in 3 weeks

I bought a 907g pack of coffee beans at Costco and the pack ended in 3 weeks. 3-week has 21 days and I consumed about 43g every day. Since I brew 5,6 cups of coffee from 43g coffee beans and I have two coffee breaks in a day, that means I drink 3 cups of coffee. The number of cups matches my feelings. Maybe I have too much drink coffee. 

Tuesday, November 5, 2024

Hungry

It's not all bad. I should pile small results up now. In recent weeks, my progress has not been going well. However, if I rearrange my small results, I must get a good result. I believe that and try to do this although I am really tired. 

Monday, November 4, 2024

Quit my favorite game

My morning routine is important, and it has changed in recent days because of the change in my life. When my phone had gone a few weeks ago, I stopped playing games in my morning routine. Then, my free time became longer than before, and I had no stress about not touching. An accident makes a change. This change may affect my life better. 

Sunday, November 3, 2024

Unexpectedly friend appeared

I have forgotten to update this blog for two days. 

A few days ago, I went to a favorite izakaya. I expected that no people would appear at the time because it was heavy rain and not to eat, but really unexpectedly, a friend seated and drank a glass of sake. I was surprised. 

I have a strange connection with him.

Thursday, October 31, 2024

This night

Many foreigners wore costumes around my office. I believed the people who wore costumes were only Japanese, but there were also many foreigners. 

Wednesday, October 30, 2024

Reading Reading Reading

I needed to read some papers to study my topic, but I did not read them until now, so I read them suddenly. It was a very tough job.

Tuesday, October 29, 2024

Pie

I had never heard the words "Savory pie" until today.  

Because I have little English vocabulary, I am trying to improve my skills, which means studying a little. Today, I used the word "pie" to indicate a dessert, but a friend did not understand which sweet or salty pie it was. I knew meat pie but I did not recognize meat pie as "pie" because it was not sweet, and so I did not understand why the friend asked me which sweet or salty is. Then, another friend taught me the words "Savory pie" which indicates any salty pie. So, I was surprised that pie indicates the texture but not any taste type. That was very interesting. 


Monday, October 28, 2024

VR

I've heard that thanks to VR avatars, people are now able to interact with people without having to worry about their innate or acquired appearance or functions, and I feel like that's true. So, humanity becomes more important than appearance in the VR era. 


Sunday, October 27, 2024

Option

I was surprised that, while I lost many friends' addresses, no one had sent me a message about a lost connection, but the view count of this blog increased. That means many people enjoy this diary of an unknown person. I believe I got one when I lost another. In this case, I lost many friends list, but I knew other people connected with me. 

Saturday, October 26, 2024

Walk

A few days ago, I walked 20km at midnight. I saw a few people sleeping on the road. I realized it had become a good season. I could not imagine sleeping outside in summer because it was too hot. Now, it was perfect to sleep. It is in good condition. 

Friday, October 25, 2024

New phone

Since my ex-phone was broken, I bought a new one. All account was initialized and I lost some friends' connections. If my friends who connected with only LINE or FB watch this blog, please send an email to nitomaina@gmail.com, this address is a managing address. 

Thursday, October 24, 2024

Cannot access all data

Since my phone was broken, I cannot access the data on the phone. And, some connections with friends were lost because I did not save some accounts, such as Line, x, games, etc. I believe God said to me "You should concentrate on fewer things than now" and gave me a chance to make new better connections. 

Wednesday, October 23, 2024

Completely broken

My phone was completely broken now. 

Tuesday, October 22, 2024

My phone

Suddenly, my phone did not respond to any touches. Since I had no idea why. And, I was not sure which hardware or software had problems. 

Since I could not use it, I just gave it a break for more than 1 hour. Then, it reacted touches. But, the responses did not smooth, but it was possible to control. Actually, the display and touch panel on the phone were broken and had a lot of cracks. So, the hardware might have a problem with the touch response. Simultaneously, the software might have a problem since it reacted after a break. 

In any case, it was gone. I need a new one. 

Monday, October 21, 2024

Taxi

From early morning to midnight yesterday, I had no free time. I was exhausted, so I slept on a train that I was supposed to take back and the train returned to the opposite side. I woke up after the last train finished and I had to go back by taxi. The taxi fee was very expensive but there was another way. Very sad. 

Saturday, October 19, 2024

A break

Yesterday, I did not write this diary because there are too many jobs. 

Recently, I have used nanobind to connect C++ and Python. Still, I did not know how to return multiple values from C++ functions to Python and I separated an optimal function into some tiny functions, which is not efficient. Yesterday, I really needed to implement multiple values returned from a function, and I read the nanobind document again. Then, I knew to use "tuple." It can be prepared with make_tuple in C++ and it can be received by Python. By using it, efficient coding was enabled. 

Thursday, October 17, 2024

Voice

I was really surprised by a friend's voice when he sang a song. I knew voice was an important component of shows at the time. And, I really think to practice my good voice. It makes something move at an important timing. 

Wednesday, October 16, 2024

Known

When something benefits people, they praise it. When something is interesting for people, they scold. So, people have implicit logic. If you only think that this is directly connected to people's emotions, you may see that humans are creatures of emotion, but in reality, I believe that we are all narcissistic people who consider our own morals to be just. 

Therefore, being around people who only praise all will not accomplish anything and will often just be a waste of time.

Tuesday, October 15, 2024

Nice members

I feel lucky because I have such great friends. They support me when I face problems. 

Recently, I talked about various things with a foreign friend. I was able to learn a lot about Hong Kong. I won't write anything specific, but I realized that there are many things I don't know. I believe that "knowledge of ignorance" comes from good friends.

Monday, October 14, 2024

Driving

I had been in a villa with friends for two days. To get there, I drove about 200 km. The drive got me tired, but I saw fantastic night sights and sea views.

And, we had some events. One of them is a study meeting for future demands. I understood what the next stage was and should prepare for it.

Sunday, October 13, 2024

Strange smell

I experienced a strange thing. At midnight, an earthquake occurred. A few minutes before the earthquake, I felt a cloudy smell similar to glue. When I felt the smell, I looked for where it came from but didn't find it. Maybe, the smell came from the earthquake. 

People have the ability to detect something before it happens. We have to be careful if we feel something is different from usual. 

Saturday, October 12, 2024

A break

 I had to take a break but drank some cups of beer and sake. That made me exhausted. Good night. 

Friday, October 11, 2024

From a teacher

I started to study something of companies with a teacher for economy.
She tell me a lot of how to change mentality. 
I got a lot of messages but the main message is change to be good. For the change, we have to stop all before change.
It's a real.

Thursday, October 10, 2024

Knowing difference is

Most people don't mind but any difference is important. 

For example, caramelization and the Maillard reaction are both reactions that brown foods. However, they are different. Caramelization is a word for only a change in sugar. On the other hand, the Maillard reaction is a strange phenomenon that occurs when amino acids such as proteins are heated. They are different reactions. However, many people use the word, Caramelization not to change sugar.

Poop and fart come from the same place, but they're different.

Recognizing a difference is important for living good. 

Wednesday, October 9, 2024

Beauty

I understood appearance is an important factor when people talk in person. I saw a friend who I did not see but I have talked with text. I expected the friend to be a man but one in the real is not a man. It was very surprised and I got high impact from the atmosphere of the person. Beauty is justice. 


Tuesday, October 8, 2024

Keeping

I faced an essential problem for days and I kept thinking of a good solution but it wasn't coming soon. Today, I got a trigger of the solution. A good idea comes after keeping thought. 

Monday, October 7, 2024

Maybe false but interesting story

I've heard an interesting talk about intelligence from a friend. According to this talk, adults wearing clothes that don't match their body or seasons tend to have borderline intelligence and the borderline people cannot consider their clothes and environment. That was very interesting. 

Surely, many kids wear clothes that don't match the environment and generally do not have high intelligence. There may be a relationship between intelligence and clothes. 

So, I looked for documents about this; however, no documents were particularly relevant. I wonder if it was just a few people's experiences because some websites and videos said only. That was interesting, but I am not sure if it is real. 

Saturday, October 5, 2024

Bicycles

I saw a police officer stop bicycles on the sidewalk in Shibuya. The police officer said bicycles must not run on the sidewalk and people must walk pushing bicycles on the sidewalk. I saw a perfect scene because bicycles running on the sidewalk are dangerous.

Friday, October 4, 2024

Stop the trigger

Life is short. I know that. And, I know social media kills my important time. Also, I have realized video content kills more. Moreover, if I feel a fried brain, the effect is stronger.

But I can't avoid the attack now because I am mentally weak. Even if one content is a short video, recent media show a series of short videos, which makes strong stimulation. 

To protect myself, I need mental strength. As the first step, from now on, I will stop listening to music in the daytime. I am not sure if it's effective or not, but I realized music is one trigger to other contents in social media.

Thursday, October 3, 2024

being strong

When I have felt tired, I become more aggressive. If I find a stupid thing or a joke in some media, I normally laugh and feel at peace, but when I'm tired, I often feel like I'm wasting my time and irritated. 

However, smart people don't approach irritated people, so I have to train my humanity so that I don't get irritated even when I'm tired.

Wednesday, October 2, 2024

Nothing special

I can't remember what I did all day. I wonder if I was sleeping.

Tuesday, October 1, 2024

Pangasius

I casually bought a fillet of white fish at a supermarket. The front side of the package showed it was just white fish, but didn't show what it was. I thought most of the white fish we could buy at the supermarket were deep-sea fish. I believed it was seafood and bought it. 

But when I had it the first bite, I noticed a difference. It was very tasty but it had a slightly muddy smell, and I felt it was more like a freshwater fish than a sea fish. Since I didn't experience the feeling from the tastes of sea fishes, I was curious about what fish it was, and I looked at the notation on the package. It showed Pangasius. Because I didn't know the name, I searched for the name. It was a catfish from overseas. 

I didn't know a catfish is tasty. That was an interesting happening. Because I don't usually buy fish, it was a rare case. In the rare case, I got excited and I realized I was lucky. Something new brings me luck. Surely, I will buy it again. 

Monday, September 30, 2024

Hurt

When I do something in a different environment, I have to use what I always used, otherwise I won't perform at my best. Today, I couldn't do my best and hurt myself a little.

I will consider this a knowledge and use what I am familiar with in the future.

Sunday, September 29, 2024

Lost day

I felt bad yesterday because of too much alcohol and I was not able to work well. Though I do not have enough time to finish an important work by a deadline, drinking makes me lose more time. I will stop drinking more. I know I cannot stop but try it from now. Every challenge is valuable. 

Any challenge becomes an easy task if there is a partner for that. The most difficult point of any challenge is to make the partner. I can do it when I get one. So, by the day, I will give up. 

Saturday, September 28, 2024

Morning

If I don't sleep, I can't concentrate. Humans need sleep.

However, I ended up drinking until morning. Very bad. Too tired. 

Friday, September 27, 2024

Verge

I couldn't stop coughing all day. My throat was itchy. That was cold but I thought it was on the verge of recovery judging from this condition. I am taking vitamins and staying up all night to heal and be active. A person on the verge shouldn't sleep.


Thursday, September 26, 2024

Less time

I saw a bus stop move to a different place by redevelopment of the city. Because it was the first time, I was surprised. If I were a user who didn't know anything, I would not realize that. 

And when my shoelaces came undone and I tied them, I noticed my shoelaces were dirty. I have to clean them. 

I notice many things when I have less time. 


Wednesday, September 25, 2024

Not going well is fun

Since the work I have to finish is too heavy, I do not have enough sleeping time. However, I am enjoying this situation. This is fun. And I caught a cold. Everything is not going well, which means this world is still exciting and there are many unexpected things. 

Tuesday, September 24, 2024

Stimulation

I think the most efficient way to learn algorithms is to read the source code. However, since there are many languages ​​and styles of programming, I feel that the level of difficulty is increasing. So in recent years, I have avoided reading the source code. 

On the other hand, it is difficult to continue avoiding studying. So today I had to touch the code for the noise I wanted to use. 

I thought noise theory was too difficult to understand.

However, once I started reading it, I was able to understand it. Probably, journaling in English and writing programs in various styles affected me. I realized that new stimulation is essential to life.

Monday, September 23, 2024

Not end

Creativity shines brilliantly when the heart is broken. It is good that things don't go well. That is human. 

But, some people blame others for things that don't go well. They are not human, they're nothing. When things go wrong, if we look for the cause, the problem lies somewhere else. The only choice is to look for it in ourselves or others.

I respect people who can break their own hearts. I understood it better today. 

Sunday, September 22, 2024

Cleaning room again

I cleaned my room a week ago and it quickly became a mess. So, I cleaned my room today as well. I feel better than before. Cleaning the room is good. The available space in the room becomes larger. It makes me feel better. 

Saturday, September 21, 2024

Change

I started working in English. I have to keep the tone flat. Recently, I have been using English more and more often, so my life is changing somehow.

Anyway I drank a lot.

Friday, September 20, 2024

Excuse to run away

I was convinced we should not trust people who claim to have communication problems. Ultimately, it will be an excuse to run away. 

By the way, I didn't achieve my goal in recent years. The reason is simple, just I didn't do that. I made excuses to run away from my goal. Originally, I just would do it. I recognized many reasons. That meant it was possible to avoid the problems. I need to act more seriously to achieve my goal. First, I attempt to get good sleep. 

Thursday, September 19, 2024

Sick

I felt sick and got a high fever, so I went to the clinic to find out if it was corona or flu today. Yesterday, I thought only a pollen allergy caused sickness, so I took medicines for the allergy. But, only the sneezing stopped after I took the medicines. My throat hurt and the fever continued. I wondered if it was another possibility. But, the checked results showed neither was the case. It was just cold-sick. Anyway, I felt bad. A gallon of runny nose came out in a day. I would like to be able to produce that much other fluid. 

There was the Jugoya full moon today. After the rain, I looked up at the sky. I remembered something from the past when I looked at the moon. The moon had not changed since then. 

Wednesday, September 18, 2024

Dead

As a scary experience, I found traces that my accounts on social media were hijacked. My accounts wrote something at DMs during I had not touched them at midnight and daytime. In addition, the messages were deleted and I did not know what the accounts sent. There is a strong possibility of a prank from hacking friends, so I will observe what happens. 

By the way, my pollen allergy started. My nose won't stop running and I'm sneezing too. I am dead. 

Tuesday, September 17, 2024

Valuable

Two weeks had passed since I started writing in my diary. Before starting the diary, I did not remember what I had done in the day. But, I became more aware of daily events after starting it. I recognized that I had many events in days but I did not have memory for the events. By the recognition, the diary is more valuable for me. 

Today I went to a Japanese Western-style izakaya that serves super delicious hamburgers. The owner chief of the izakaya is an interesting person and seems to really like cooking. And he had a bad tongue, which meant I sometimes could not catch some words he said. 

One friend also likes cooking and has a bad tongue. I thought he was just unique but after I met the above chief, I wondered if cooking is related to tongue speed. Of course, although those are not directly related, when thinking speed in cooking is very fast, the motion of the tongue cannot follow the thinking. If people do that in a long time, there is a possibility to get a bad tongue. Not only cooking, it may be a reason that people who need speed have bad tongue. 

Monday, September 16, 2024

Last train

At midnight, I saw a train I must have taken had left at the station platform because it was the last one. But I did not give up. I believed any trains to stations near my home, so I searched for them. I found another line I do not usually use but there was no way other than it, so I tried it though I did not know about it. As I expected, I took the wrong train. So, I did not reach the goal. The place is Akihabara. In Akihabara, there is a favorite ramen restaurant. So, I ate a donburi of ramen and a chawan of rice. After eating them, finally, I took a taxi. That was a kind of good experience. 

Before I saw the last train, I studied a kind of human communication with the professional team. In the workshop, I learned again that Approval-Seeking People often believe that their stories and opinions are correct and do not doubt them, and tend to hate people having more knowledge. It's very scary, but it's easy to fall into such a situation. All people have a subconscious need for approval. To get approval, we need to continue challenges and study well. I can't do it. Impossible. 

Then, I lost my last train. That's great timing. 

Sunday, September 15, 2024

Unknown people

I have attended several academic or industrial conferences in recent weeks, and I sometimes attended two or more including online in a day. Since I saw many people and talked to them, I got many new topics now. 

There is an interesting one. This is about fraud. According to this case, a man is a troublemaker anywhere, disturbing someone by making a false declaration or attacking someone. People who know about him do not talk about him because they do not want others to think related to him. Since no one stops it, some companies employ him with his history including incorrect information. When he starts to work, he starts to cause a lot of trouble immediately because he does not have enough ability. Then the companies decide to stop employing him. But, after he gets fired, he brings a lawsuit soon. Since the companies do not want to be related to him, they pay money to avoid lawsuits. 

Though this process is a fraud, employees are strong in Japanese law and no company deals strongly with it. General thinking, he cannot get jobs again. But, in real, he gets jobs and the fraus again. 

Honestly, I had heard about other cases like this type before this case. This means some troublemakers cause fraud in many companies. It is unpleasant.

We know that people like him cannot continue the fraud until older. In addition, many people are avoiding this type. Surely this type will die alone. Maybe, to this type, there is no good solution. The best solution might be ignoring it. If we completely ignore it, it attacks us. So, we should stop talking as soon as possible and talk to others.  

Well, I think it is better not to get involved with unknown people. 

Saturday, September 14, 2024

Post

I sent a letter through a post office. When I did it, I noticed a small change. When I sent a letter a few years ago, it took about a day to reach the destination if it was close. But now, it takes about two or more days and the post office does not deliver on holidays. If I had only the old feeling, the letter would not be delivered at the necessary time. I felt the work-life balance was modified to be safe. 

I felt everything changed. 

As another change, I cannot interact well with people who I do not know. Recently, a girl has been sending me some messages about photos I took through social media. According to the messages, she was interested in Japanese foods and culture, and she sent a contact message because my photos were nice. I was wondering if she was a real human, if she was a real woman, and if she was not crazy. I sometimes replied to her first but now I am ignoring her because it is a hassle. She still sends messages to me while I do not reply. 


Friday, September 13, 2024

New

I was drained and not feeling well because I worked too actively. Though I went to a small party with a friend, I couldn't enjoy it as much as usual. But, that was not only bad thing.  

In a few days, many things happened and I got stimulation anywhere. That was good instead of tired. Especially, much stimulation brought me a term of digital detox and an opportunity to recall my fighting spirit. And, I decided a new goal. 

Good people bring me good stimulation. 

Thursday, September 12, 2024

Met

Hi friends, this post got attention in an instant by fans of this blog. I researched where people watch this post with an analytic tool. And then, I was surprised. Many US and Czech people watch it. I have no idea why a lot of people did it because this post only described a good man who makes good effects for me. Maybe he has a supernatural charm, and he got attracted by many people. So, I want to write more details here. 

I had a very smart friend. Because of his genius, he naturally caused unexpected events. It was not all good, but I liked his story. 

He had a group of friends around him and everything was fascinating. Since he was gentle, he believed that even if a person is super crazy, it will always goes good direction. Many people were helped by this thought. Of course, he had been hit with many terribly unpleasant problems. But, he handled them all with an iron heart. It was difficult to imitate him. I respected him. 

However, ever since he got involved with a super crazy person, he met more trouble, including being net-stalker and being attacked with false rumors. Even if it is an iron heart, human is breakable. He was a human. This day was the anniversary of his death. And I suddenly remembered this story on that day. His hobby was going to the morning cabaret. When I saw this morning sky, I suddenly remembered this. 

Wednesday, September 11, 2024

Good day

I will be more active in publishing good papers. I was stimulated by a lot of good research. 

By the way, I got drunk by bad drinks. I finished drinking. 

Tuesday, September 10, 2024

Removing mites

It was an ordinary day. We had many meetings and the work progressed. It was not an easy day, but it was normal and it meant a good day.

Anyway, when I woke up this morning, I wasn't bitten by insects. I am still cleaning the room where I had slept now, so I slept in another room with the cleaned futon. I noticed that the mites were removed from the futon.

This is a small change, but the change visualize the value of the action.

Monday, September 9, 2024

Bouldering

I went bouldering in a gym for the first time in a while. The trigger is a talk with a friend. When I was drinking with the friend, he mentioned his son had started bouldering. In the talk, I replied that I had been doing it too, and then, we decided to try bouldering together. It was just a few days ago, but he asked me about it today.

We decided to climb the outside wall around noon. The weather forecast said it wouldn't be that too hot, but the reality was different. After sweating outside for about an hour, I felt like giving up. Since it was our first time, we talked about how to start, how to shift my weight, etc., and ended up doing it lightly. Although it was a short time, it was fun to exercise outside.

Through bouldering this time, I understood one problem of feeling. Generally, it is quite difficult to keep trying to challenge something that we stumbled on once and could not solve for a while. I think motivation is a type of confidence. A lack of self-confidence leads to a lack of motivation. And the inability to do anything comes. Then, weak people look for causes other than themselves.

I think the reason why blame-takers are often lacking in ability is because they cannot take on challenges. That's why it's very difficult to try hard and overcome our defeat, but it's also worth it.

Sunday, September 8, 2024

Cleaning day

My room may have mites or mosquitoes because I got some itchy bites. I wanted to kill them all, so I decided to clean my room. I first washed the futon sheets and the futon. Next, I moved the furniture away and cleaned everything on the floor. I spent 5 hours on them. I sneezed many times because of the dust. I did not finish the cleaning but it was good try for me. 

Saturday, September 7, 2024

Liver

In this morning, I realized that my eyes were not feeling well, including blurred vision and more nearsightedness than before. I thought it was presbyopia, but presbyopia causes farsightedness, so this symptom doesn't match. Anything didn't even bump into my eyes or I have any direct thoughts about it. So, I tried to think more broadly. I assumed that something I have changed recently affects my eyes. The biggest change was the amount of alcohol. I drank so much that my bottom right flank hurts. That is near the liver. I believed the liver could not affect the eyes, but I searched it with Google. Then, I saw it was related. It was written that ``If there is an abnormality in liver function, in addition to eye fatigue, blurred vision, and decreased vision, the whites of the eyes become bloodshot, and wrinkles and dark circles tend to appear around the eyes.'' I thought this was possible, but I'll take it as if I just need a little break.

When I searched it with Google, the search predictions were too annoying, so I decided to initialize my history. I kept my login data and bookmarks, so it's not an inconvenience, and it's much more comfortable because it's less annoying. 

Friday, September 6, 2024

Every new study stimulates me

I started studying a new topic: accounting treatment. Today I attended a conference about this. Though any new study makes me tired, complex tax studies were more than others. But this study is useful anytime, anywhere. In addition, through this study, I understood why companies make us do complicated payment processes as our own work. That is reasonable. 

As another topic, I read all of My Home Hero, which is manga. The ending is unclear. Readers cannot read what Tetsuo will be sentenced. In the end, there are pros and cons but I didn't think it was bad. I think Tetsuo was sentenced to death. And, Kasen became crazy or something like that. So, only the son appears the last. Anyway, we do not know what happened in the story because it is a manga. The story was very sad but its flow was perfect for me. 



Thursday, September 5, 2024

Good day

In the morning, I pulled weeds with my neighbors because in recent days the weeds were rotten, and the color of the weeds had changed to brown. The appearance was not good. So, I was glad it became clean. But I got bitten by a lot of insects. It's itchy all the time. I need to give up to get good something. 

As another topic, on my way home, I happened to meet the owner and his wife of the store where I often buy alcohol. Looks like he was on his way home from drinking. It was fresh to me because I had never seen that couple drinking outside. Next time I visit, I think I'll ask what they drink at the restaurant.

Wednesday, September 4, 2024

Just normal day

It is hard to write a page like a diary at the end of the day because I am sleepy and remembering many is impossible. When something happens, I need a memo to keep the memory. 

At noon, I went for a dental checkup. There were no problems in my mouth, but a change will happen. The dental hygienist who I get checked every time will be moved to another store. I know changing anything is an opportunity to see a new one. Maybe, it is a timing of something.  

As another topic, I heard the Japanese word "一億総白痴化" which means TV shows make all Japanese idiots. When I heard the word, I remembered Japanese TV shows are funnier than those in other countries. The funny contents take away the watchers' time. Taking time away kills time to study anything. Killing study time makes idiots. Surely now it does not result in only Japanese TV shows. All videos watched through smartphones have the same effect. The videos do not give the user time to do anything or think something. Probably, reading books or web pages is different because it is not only about receiving anything but catching characters on the page by readers. In other words, readers need to do the action by themselves when reading books or web pages. Writing is also different from watching videos. Anyway, I try to keep time to think about something. 

Tuesday, September 3, 2024

Lunch as adventure

Today I had some interesting experiences from the morning, but I forgot the experience. My memory is limited. All of my memories are from noon.

At lunch, I went to a Chinese restaurant I had never been to. The restaurant was scored by many people in Google Maps and the average score was good. Since I believed the score, I chose it. The waiting time was short, and the taste of the dishes was not bad. That's good. But, that's not surprising. Then I realize an important thing. I want a feeling of adventure even if it is lunch. I should not determine lunch by the score because it is the same as giving up on adventure. From today, I keep going for lunch with a feeling of adventure. 

So, I went to another Chinese restaurant I had never been to in the evening. I only know the name of the restaurant but I did not know the evaluation. The situation is like an adventurer only knows the entrance to the cave and has never entered it. That was really adventure. 

But, it was closed.

So I ended up going to a nearby Soba restaurant I had never been to. That was also an adventure. I turned cash into a new experience. Then I won. The food and drinks were very good. I want this type of experience more. I want a friend to go out to restaurants with.

Sunday, September 1, 2024

Try to

I've come to realize that I have a tendency to indulge in the path of least resistance, especially when I'm not being observed.

To keep myself motivated, I often observe others through various media platforms, with social media being my most frequent choice. However, these platforms are designed to consume our time, providing fleeting, intense stimulations that often lead to wastefulness. Without a strong sense of self-discipline, I find myself using them excessively. By the time I realize I've overindulged, the day has ended, and I've accomplished little.

I've noticed a decline in my resilience recently. My energy levels, which were never high to begin with, seem to be declining. I recognize the need to address this issue. As a first step, I plan to start maintaining a diary, where I can reflect honestly on my daily activities. While I've been jotting down random thoughts on this blog, I intend to take my writing more seriously for at least the next two weeks.

On another note, I've realized having a milk allergy. This allergy seems to have resulted from an overconsumption of dairy products. So, I've decided to eliminate dairy from my diet. By doing so, I believe my immune system will have a chance to recover. However, if I consume any form of dairy, like cheese, before my immune system has fully recovered, it reacts immediately.

To manage this, I've avoided dairy completely for a month. But, I recently had a slip-up when I unknowingly ate a hamburger with a small piece of cheese. Luckily, my allergy reaction was not as severe as I had expected. This gives me hope that my allergy might be subsiding.

Thursday, August 1, 2024

Difficulty understanding what the crazy person think

A friend also shared another interesting story.

It hears that a crazy person caused a police incident at a world-famous international academic conference venue. The incident at the international academic conference is unprecedented. That person was internationally recognized as a dangerous, crazy person after this incident, so I don't think anyone will come close to the person in the future.

What's even more interesting is that this crazy person seems to be writing on Facebook as if he were the victim. People around me say that the cause is definitely that crazy person, but it seems like it doesn't understand itself.

What's even more interesting is the content of this crazy person's Facebook page, where that person seems to be writing about how it's good to see minorities as individuality and enjoy them. Oh, no. No one helps it. 

It's fine to do what crazy people want, but if they are causing trouble to a lot of people and they don't even realize it, it's not a matter of individuality. Never get close to such people. This story made me think so strongly.

Thank you very much for sharing the hilarious episode. 


Monday, July 29, 2024

Difficulty understanding what crazy people think

A friend told me a troubling story. A person took self-inflicted wounds to the hospital, claimed they were the result of violence, and then filed a police report with a medical certificate. And, after the police officer noticed that it was fake, the person claimed to have a mental illness. The person went so far as to claim that the mentally ill are socially vulnerable, a minority, and should be protected in the context of diversity.

This is a result of people selecting the wrong way to maintain diversity.

This is not a story about minorities being bad or good, but a story about criminals taking advantage of the minority position to ensnare people. 

When we see loud minorities strongly insisting that they are right without respecting others, we should realize they are fake claims because the loud minorities misunderstand a diverse society. Diversity means that there can be a variety of opinions and ways of thinking. It does not mean respecting minorities. In such cases, the criminals are just pretending to be in the minority.

Originally, we should not say that a minority is good or bad because it is just opinion or character. However, the movement to respect minorities much is a bullshit. LGBT people are a minority in society, and that's fine. But convincing people that this is normal is violence. The same goes for vegetarians. If they want to eat vegetables, they can. It's also violence to tell omnivorous people not to eat meat. People should not restrict other people's freedom for their convenience. It is wrong to limit the freedom of the majority to protect the freedom of the few. 

It would be better not to have anything to do with such crazy people. To this, it is important to know how to distinguish them.

First of all, crazy people are loud. Noisy. Secondly, it looks flashy, like a poisonous frog, so it's easy to tell where it is. They are completely restless. When I think it's getting close, I just run away.

Sociable people are moderately fashionable, moderately sober, clean, have a calm expression, and are generally gentle. We only need to talk to these people.

Friday, June 28, 2024

Maybe deep breathing makes concentration

Recently, I've been struggling to make progress on my tasks, feeling overwhelmed as they continue to pile up. However, I noticed that I was aimlessly scrolling through my social media feeds, indicating that I did have spare time. The realization hit me that social media was devouring this free time.

Recognizing this, I understood the importance of distancing myself from social media to effectively carry out my tasks.

Currently, I'm attempting to maintain a physical distance from my smartphone, minimizing my interaction with it as much as possible.

Moreover, when I'm focused, I'm not distracted by my phone. So, I'm trying a particular method to boost my concentration - deep breathing.

I've observed that people who smoke tobacco seem incredibly focused when they return from a smoke break. I surmise that this is not due to nicotine, but rather the result of unconsciously taking deep breaths. Evidence for this is that people who quit smoking using nicotine gum don't appear to be as focused. Essentially, smoking is just mindless deep breathing.

To give another example, in martial arts, there's a practice of meditation where you close your eyes and dedicate time solely to breathing, which enhances concentration.

Breathing proves to be effective here as well.

Drawing from these instances, it seems that intentional breathing has the potential to heighten concentration.

Therefore, in an effort to decrease the time I spend on social media, I try to take deep breaths every now and then.

Perhaps it's working. Or maybe it's just my imagination.

Tuesday, June 4, 2024

Awakening Thoughts

In the quiet moments of early morning, my mind seems clearer, able to think deeper and wider than during the day. For example, I find myself pondering the concept of what could be the farthest thing from sushi in our contemporary society.

Sushi is a traditional Japanese dish, meticulously crafted using ingredients like fish, seaweed, and rice, with the majority of its components sourced from the sea. Most are prepared raw after careful preprocessing. Culturally, it represents a facet of Japan's traditional cuisine. Imagining what's farthest from this, we might consider terrestrial proteins like meat, bread as a contrast to rice, cooking methods like grilling as opposed to raw preparation, and Western modern cuisine as a cultural counterpoint. Combining these factors, we might arrive at a Western dish like a hamburger or hot dog.

However, there's a sense of familiarity and accessibility to both sushi and hamburgers or hot dogs. They are all readily available in shopping malls, and their ubiquity makes them feel close, not distant. There must be a food that's farther from sushi. Let's shift our perspective.

Sushi and hamburgers involve a lot of hands-on preparation before they are served. What about food that involves minimal human intervention in its production process, something that goes straight from machine to mouth? Instant noodles might come to mind, but they require some preparation before eating. Snacks like potato chips, on the other hand, feel very "manufactured". There's a significant conceptual distance between sushi and potato chips, and they evoke different kinds of familiarity. Yet, they are both readily available, which brings a sense of similarity.

Perhaps the farthest food from sushi is something that's not readily available. Let's consider physical distance. We live on the Earth's surface, so what about food that's far from the surface? That brings us to space food. I don't know much about how space food is made, but I imagine it's mechanically produced, packaged in a special way, and processed to prevent it from scattering in zero gravity. The mere fact that I'm unfamiliar with its production process makes it feel distant from my daily life. After a morning of contemplation, I've concluded that the farthest food from sushi is space food. I briefly considered intravenous nutrition, but that's not really eating, so I dismissed the idea.

A quick Google search on space food reveals that there are categories like Japanese and Western, suggesting that cultural aspects of meals are being developed even for space food. This led me to think that considering space food as a group might be too broad. I feel there's more to explore here. To deepen my understanding, I'm considering making some space food on my next day off.

Thursday, May 16, 2024

a way to do Men

Kendo is much like life itself. It has taught me many things. I won't strike 'Men' merely by extending my hands forward. I must first move my body towards my opponent, and then strike. The order of these actions is crucial. 

Life follows the same rule. To reach a goal, I must first move my body closer to it. Simply reaching out won't get me there.

Therefore, if I don't have a foundation, I must first establish it. If I need results, strengthening this foundation is essential.

Sunday, April 21, 2024

met Indian wine

I went into a familiar Indian restaurant and ordered a Japanese beer as usual, but since they were out of stock today, I was offered an Indian beer. This is also an encounter. 

Looking at the label, it has an alcohol content of 4.5 abv, so I thought it would be a light drink, but it has a strong flavor with a noticeable sweetness. I thought this was great. 

I decided to go into uncharted territory for the second time. My second glass was wine, and I ordered red wine, which was also surprisingly delicious. A premium Indian wine called Grover. The price also feels quite reasonable. It was a great experience.

I do not know where the staff of the restaurant came from but I easily understood they really love Indian foods and drinks. Their choice and recommendation brought me their consideration. 

Monday, April 8, 2024

March to April

Mid-March to mid-April is busier than other months. One reason is that my schedule is packed with events. I'm a little tired, but I'm looking forward to new things. Change brings new knowledge and experience.

Sunday, March 24, 2024

a talk in drinking

I enjoyed a drinking time with friends a few days ago. In a talk, a friend suddenly touched on an interesting topic. 

He said a person makes a different decision about the same problem if he or she has a different search domain for the problem. That is true. Generally, a good optimizer solves a problem in a given ideal search domain, but it does not find a good result in ill domains. To get good search domains or know new regions, wise people try to learn any. And, the domains can be updated, and most domains are introduced by friends. I believe it is common sense. 

Thus, wise men easily cut bad relationships. If a person has a poor man as a friend, the person may have a direction toward the poor. People should cut friends if they are liars, unattractive, or cowardly. 

However, most people do not know how to detect them. To the asking, I have an answer. That is drinking beer. If the person likes drinking and no problem happens, he or she is good. Otherwise, he or she has any problems. 

This is real. 


Thursday, March 7, 2024

well slept

I slept well for the first time in a while. I realized that fatigue contributes to good sleep. Avoiding tiredness is not necessary.

Yesterday, I accidentally walked approximately 20 kilometers and then worked hard. It was tough at the time, but my perspective changed after the good sleep. I now hope to experience fatigue every day for better sleep.

Tuesday, February 27, 2024

hmm

I had a meeting with team members to talk about issues members held. Occasionally, I needed clarification on new technical terms from others in the meeting. It might be the generation gap. Recently, a lot of technical terms appeared thanks to AI. That is bad because completely different words were assigned to similar thoughts. Though a technique was defined on a point set, the technical term does not include the word "point set." I want people to use the original technical term if they generate new technical terms like image-based rendering and image-based lighting. 

Sunday, February 25, 2024

grub console

When I boot Ubuntu, sometimes the gnu grub console runs instead of the GUI version. The reason may be that my keyboard inputs a key through electronic problems. In most cases, by rebooting it after changing or repairing the keyboard, the GUI version runs. But, we can boot it on the console without rebooting it. 

After checking the keyboard, type the following on the console, and then Ubuntu runs.

configfile /boot/grub/grub.cfg

"configfile" is a command of the grub, and "/boot/grub/grub.cfg" is a file path about booting. If the file is not set to the path, we can boot the OS by adapting the path.


Tuesday, February 20, 2024

To avoid forgetting a thing

When I am busy, memories are always overstacked. A lot of things are hidden by additional things, and the hidden memory does not come up ever. I forgot everything before the last issue I saw. When I realized I had forgotten it, it was too late. 

To avoid this situation, I use a notebook. It is not electronic. No battery. No boot. Just open it to use. 

The notebook is not for beautiful pages but it is just for external memories. So, I do not consider the language I write, the style, and the format. It is very convenient when I am too busy to keep the memory. 

A colleague had a similar problem like forgetting some important things when busy. So, I recommended using notebooks. From using it, the colleague 

My recommendation is the largest notebook we can keep in our own bag. larger, better. Because more space allows me to write most connections between points to points. The connections bring me additional memories I need. So, I like to use a large notebook. 

Wednesday, February 14, 2024

Weight really gains

Before, I believed that when I felt my body heavy in the morning, it was due to my mental state, for example, being busy in my mind or tired. It was like jitters in my sense. 

But, I realized that real is not. Just my weight gained. When I recorded my weight, I realized this. I had got too much salty food. And, my body had kept a lot of water. It was not from mental. My senses are correct. 

Now I have a really sad thing. And, I feel that my weight gained. But it is not a mental issue. Just eating too much. 

Wednesday, February 7, 2024

_projective plugings are available in mitsuba3.5 instead of _reparam plugins

I wrote my problem about _reparam plugins in Mitsuba3 here two days ago. 

https://geblog3.blogspot.com/2024/02/mitsuba3-removed-reparameterizations.htm

After that, I realized that I had read the stable version tutorial but installed the latest version of the library. The difference confused me. 

While _reparam is still available in the stable library whose version is 3.4.1, new plugins were introduced in the latest version 3.5.0 instead of _reparam. Those were projective plugins. In addition, the latest tutorial already described it. 

https://mitsuba.readthedocs.io/en/latest/src/inverse_rendering/projective_sampling_integrators.html

Thanks to this tutorial, I solved my problem. The plugins adjust shapes to the desired ones. 


Tuesday, February 6, 2024

My to-do list never finishes.

I always need to complete my to-do list but I never see that situation. As soon as I finish one task, more tasks are automatically added. I'm at a loss for a solution. 

There are many ununderstandable problems and issues every day. Today, I stumbled upon why the neural texture method needs neural networks. I know neural makes a problem smaller, but the setting is undefined. I could not understand it. So, I need to read a code that implements it. It is a hard task, but I need it. This is a study. 

Monday, February 5, 2024

mitsuba3 removed reparameterizations

I wrote a program for retargeting shapes using a reparameterization plugin in Mitsuba3, but the program did not work. I only knew that a line using the reparameterization plugin had stopped the program, but I did not understand what the problem was because the program was written along with the official tutorial. 

At first, I had not wondered if the official tutorial was old. But a day later, I wondered again it was real. Later, I found a page. The official tutorial was old.  

https://github.com/mitsuba-renderer/mitsuba3/pull/997

According to this, "Reparameterizations were completely removed from the codebase." OK, goodbye. 

Now, I have to reconsider what I use for retargeting shapes. 

----------------

The problem was solved with _projective plugins. https://geblog3.blogspot.com/2024/02/projective-plugings-are-available-in.html

Tuesday, January 30, 2024

戯言

昼夜問わず飲みまくってたせいでここ2週間ほど曜日感覚も昼夜の感覚も失って過ごしていた。

これはこれで楽しかったが、こういう刺激的な生活ばかりしてられないので、そろそろ人間界に戻ろうかなと思っている。が、そもそも戻る場所がない。

というわけで、新しく生活スタイルを決めることになる。今は自由にスタイルを決めれる身なので、どんなスタイルが良いか悩んでいる。

こういうときは先人から学ぶのが吉だと思う。普通の社会生活をしている人になっておこう。

まず私の頼るところはデールカーネギーの著書である。言わずも知れた、人間社会のど真ん中を行くための本である。とはいえ、まぁ、生活について書いていないのは知っている。なんの参考にもならない。

なので、次に著者本人を参考にしようと試みる。どんな奴だったのかよく知らないので、ググってみたが、髪型がツーブロックっぽいことしかわからない。なんなんだ、この人。

ほかには数学者や作家が思いついたが、そもそも人間的に碌でもないやつらなので参考にできない。そもそも私は普通っぽいスタイルに憧れている。

と、この辺で、普通を本にして出版するなどありえないので、そもそも参考にしようとしたものが悪いと気が付いた。

なので、ストレートに普通の生活スタイルをググってみた。

朝起きて、3食食べて、適度に運動して、夜そこそこに寝るという具合のことが出てくる。

そうか、2時3時まで遊んでる時点でこれから外れてて、さっさと寝ろということか。まぁいきなり生活を変えるのは困難だが、目標が決まれば目指すことは可能である。これからはこういう普通っぽい生き方をしていこうと思う。クソつまんない気がするけど、飽きたらまた別のスタイルを探そうと思う。

Wednesday, January 3, 2024

libtorchでis_avaiable()がFalseを返すのを直したときのこと

Windowsで機械学習で有名なpytorchのc++ apiであるlibtorchを使い始めたが、たびたび???となることにぶつかる。

直近で当たったのが、ライブラリのバージョンやドライバーなどちゃんと整えたうえで、CUDAの利用が可否か問う関数、

torch::cuda::is_available()

で、0,falseが返ってきて、なぜか使えないと判定されたことである。

念のために、pythonで、

import torch

torch.cuda.is_avaiable()

を投げると、Trueで返ってくる。

つまり、torch的にも計算機の環境としてはCUDAが整っているのに、Libtorchを通した時におかしいという状態である。

考えてみると、これはDLLが別のものを指している可能性があって、Libtorchのフォルダ内のdllを先に参照できていないことが示唆される。

ということで、システム環境変数のPathを見てみると、libtorch/libが通っていないので、先頭に追加した。

結果、ちゃんと1, Trueが返ってきて、かつ、

device_type = torch::kCUDA;

torch::Device device(device_type);

model->to(device);

cout << "Is module CUDA? " << model->parameters()[0].is_cuda() << endl;

によって、GPUへの転送もうまくいっていることを確認できた。