It's been a year since I started posting to Qiita, and since it's the end of the year, I'd like to write a retrospective article, but if it's a programming article, it's subtle, so what should I do? .. That's right, let's tie it with a little story related to programming and make it an article related to programming!
Below, about the troubles I faced with python
First of all, I got the following error when executing pip.
'pip'Is an internal or external command,
It is not recognized as an operable program or batch file.
Therefore, it was solved by adding the path where pip.exe exists to the system environment variable "Path". (Be careful not to mistake it for a user environment variable)
Next, when I imported the package installed with pip, I got the following error.
ModuleNotFoundError: No module named 'package name'
So, I checked the installation destination of the package by pip.
pip show [package name]
Reference article: https://qiita.com/t-fuku/items/83c721ed7107ffe5d8ff
Then, what came out as Location (installation destination) was in other projects as shown below.
\Other projects\venv\lib\site-packages
You can use it by copying the packages installed in that "other project" into the project you are currently working on, but copying each time you install a new package in the future is too annoying.
So just add the path to that "other project" in the source.
import sys
sys.path.append("Where to install the package")
Reference article: https://qiita.com/ktgwaaa/items/6d1f54d5ff3c4559f96c
This is the solution! It seems that adding a path like this violates the code convention PEP8.
Reference article: https://qiita.com/ninomiyt/items/76f6f7e3c1f833cf99e5
So, I set the environment variable "PATHONPATH" for python as a user environment variable and aggregated all the packages there.
Reference article: https://qiita.com/maech/items/72559402556eb2af73ad
By the way, to install the package in any directory with pip, use:
pip install package name-t directory
Reference article: https://blog.tamesuu.com/2018/09/24/81/
I solved it with just a synopsis.
Events about a year ago
I "I can't improve my skills easily" Synchronous "Make something private and give it to Qiita. I'm doing it too." I said, "No, I don't have time. And I'm not confident about posting on the net." Synchronous "If you make such an excuse, it won't change forever?" Myself "Gununu ..."
That's why Qiita life has begun.
It was really good to start posting. I am deeply grateful to the synchronization for inviting me. It's been a good year since I definitely started posting to Qiita.
There are various reasons why it was good, but mainly the following:
――Every time I posted one, my level as an engineer went up (I feel) ――I gained good experience by putting together the process of making one thing and putting it together as an article. .. I think.
――I no longer make excuses for "I don't have time" ――I don't think it applies to everyone because I think some people are really busy, but for me "no time" was a complete excuse.
――It is no longer necessary to bury what you have made ――Until now, even if I made it with all my might, I often forgot about it because it was basically the same, but of course it has disappeared since I started posting. Even if I forget it, I feel that it is a big advantage that I can access it as soon as I open Qiita.
--The language used in the article is listed at the beginning of the title of each article (except for this article). ――It's all about programming
――I tried to make each article the same structure (generally) ――Now you don't have to worry too much about the structure when writing an article.
Of course, we plan to continue posting to Qiita in 2020, so the abilities we want to improve through that activity are listed below.
--Programming ability ――It goes without saying.
--Progress management ability ――I felt that the process of first deciding the deliverables and acting toward them is exactly the work itself. However, just because it wasn't a job, I didn't decide on a plan for the deliverables at all, and on the way, I felt like I was wasting my time by repeating rework. In the first place, there is a deadline for work, so I felt that it would be better to set a deadline for Qiita as well. However, if the deadline is set by myself, the binding force is too weak, so I decided that it would be effective to put pressure on myself by sharing the deadline with my Qiita friends and colleagues.
—— Work efficiency ――It is related to the above "progress management ability", but set the deadline for articles → In order to adhere to the deadline, you will have to secure time to write articles → You will need to finish the work early → For that Expect the effect of working harder to improve work efficiency. (However, be careful not to neglect your main business)
The following is a problem that I have been posting for a year and have not been solved yet. ・ About the goal of posting frequency At first, I started to breathe, "I'll post one a month!", But soon I was hit by the deadline, and I fell into a vicious circle of running to the material in time for the result. And I gave up one goal a month on the way. I think it was good to set a goal, but if you set a goal for posting frequency, you will not be able to sit down and do what you want to do, but even so, you may be full of goals if you do not set a goal. Is also an issue.
Every day, I'm studying English by searching for videos in my field of interest on youtube and shadowing them, so I've included a list of videos that have been shadowed this year.
Video name | time | Contributor | difficulty | Usefulness | Impressions |
---|---|---|---|---|---|
The Worst Trends in Modern Cars and Trucks | 12:31 | savagegeese | 4 | 2 | A lot of trivia |
5 Tires You Should NEVER Buy! | 4:48 | Modern Muscle | 2 | 5 | Tells you the dangers of poor quality tires |
The state of self-driving cars: 2018 | 5:37 | The Verge | 3 | 4 | Understand the current state of autonomous driving |
What Happens If Both Airplane Engines Fail? - Aviation Facts | 11:02 | LogicLounge | 4 | 3 | Explain the questions that everyone has |
The Differences Between Understeer & Oversteer And How To Combat Them | 6:48 | Car Throttle | 5 | 5 | Learn knowledge about vehicle behavior |
Can Dyson Reinvent The Electric Car? Answers With Joe | 15:38 | Joe Scott | 5 | 2 | The story of that Dyson challenging EV by making use of home appliance technology |
Self-Driving Cars: The Future of Transportation | 10:31 | Top Trending | 4 | 3 | Basics and current status of autonomous driving |
Understanding Wheel Alignment ! | 4:48 | Learn Engineering | 1 | 5 | Angles attached to automobile tires and their effects |
How Mazda Is Eliminating Turbo Lag | 5:25 | Engineering Explained | 4 | 4 | I am surprised at the ingenuity applied to the engine |
Unbelievable and Expensive Engineering Mistakes | 10:30 | American Eye | 4 | 2 | An overview of the major accidents caused by minor mistakes |
7 MOST EPIC TRANSPORT OPERATIONS IN THE WORLD | 11:21 | Amazing Stock | 3 | 3 | The story of how to carry huge buildings and machines |
Why Norway is full of Teslas | 7:09 | Vox | 2 | 4 | Understand the EV situation in Scandinavia |
Grit: the power of passion and perseverance - Angela Lee Duckworth | 6:12 | TED | 2 | 3 | Introduction of the secret of success "grit" |
11 Lottery Winners Who Paid the Ultimate Price | 12:34 | They will Kill You | 3 | 2 | Introducing the tragic end of the lottery winners |
The Self-Driving Revolution _ Henry Su _ TEDxUAlberta | 12:12 | TEDx Talks | 2 | 2 | Benefits of autonomous driving |
Let's Talk About Tesla "Killers!" | 9:38 | Marques Brownlee | 4 | 3 | Release EV including rivian(It is possible)Introducing the company |
Why Tesla And Elon Musk Face Challenges In China | 6:54 | CNBC | 4 | 3 | The story of Tesla's struggle in China |
Why Hydrogen Engines Are A Bad Idea | 7:12 | Engineering Explained | 3 | 3 | Although it says "Hydrogen Engines," it's actually about FCVs. |
Why Do Diesels Get Better MPG? Why Are Diesels More Fuel Efficient? | 8:53 | Adept Ape | 2 | 3 | The basic story of diesel |
The Problem with Self-Driving Cars.. | 9:05 | Snazzy Labs | 3 | 3 | The story of "how often humans cause accidents" is interesting |
Why Are You Always Tired? | 3:10 | AsapSCIENCE | 3 | 3 | Videos useful for those suffering from chronic fatigue |
How job surveillance is changing trucking in America | 9:35 | Vox | 4 | 3 | Introducing the distress of drivers forced to work under supervision and the significance of supervision |
I Adopted Rich People’s Habits, See How MyF Life Changed | 9:04 | BRIGHT SIDE | 2 | 4 | A useful story by practicing the habits described in self-development books |
Why Boredom is Good For You | 7:21 | Veritasium | 2 | 4 | Explaining how "boring" enriches life |
The Challenge of Building a Self-Driving Car | 15:45 | Real Engineering | 3 | 3 | Explaining the future of autonomous driving, especially referring to Tesla |
Why do aircraft store fuel in the wings? | 12:52 | Mentour Pilot | 4 | 4 | It's interesting to talk about the fuel inside the wings and its shape. |
5 Things You Should Never Do In A Dual Clutch Transmission Vehicle | 7:33 | Engineering Explained | 4 | 3 | The story that the DCT should not be worn anyway |
Why Europe Doesn't Build Skyscrapers | 7:10 | The B1M | 4 | 3 | You can see why skyscrapers are not built just because they are developed countries |
Ride in NVIDIA's Self-Driving Car | 7:27 | NVIDIA | 3 | 3 | Introducing NVIDIA's autonomous driving |
The Future of Wind Power? - Kite Power Systems | 7:02 | Real Engineering | 4 | 4 | There is also such a power generation method. I saw how to float the propeller in other videos, but it's no good. .. |
Why Public Transportation Sucks in the US | 10:05 | Wendover Productions | 3 | 5 | Interesting story about the relationship between good and bad access to public transport and poverty rate |
Is This Glass Half Empty? | 3:19 | AsapSCIENCE | 3 | 4 | It seems that optimism isn't all good, and pessimism isn't all bad. |
5 Tips To Improve Productivity | 6:10 | Joma Teck | 3 | 3 | After all the power of habit is great |
That's Why Airplane Seats Are Almost Always Blue | 11:03 | BRIGHT SIDE | 3 | 4 | Answering questions about aircraft, as well as why the seats are blue |
Why Expensive Cars Aren't Always Reliable | 9:27 | Engineering Explained | 4 | 4 | I see ... It seems that the needs of wealthy people who own luxury cars do not have to be reliable |
Walk Barefoot for 5 Mins a Day, See What Happens to Your Body | 10:03 | BRIGHT SIDE | 3 | 3 | It would be interesting if there was a scientific basis. It was good that there was a concrete method |
Why Ford And Other American Cars Don’t Sell In Japan | 7:12 | CNBC | 3 | 2 | Well, that's right |
Zero Waste Is Not the Only Solution - 4 Tips to Have a Bigger Impact | 9:22 | Exploring Alternatives | 4 | 4 | I definitely wanted to try plogging |
Can Sea Water Desalination Save The World? | 13:28 | CNBC | 3 | 4 | There are methods such as thermal desalination and reverse osmosis, and I was able to know that the latter is the mainstream now. |
Why Planes Don't Fly Over Himalayas | 8:55 | BRIGHT SIDE | 4 | 3 | Many convincing reasons such as eddy and oxygen mask time limit (the latter half is about a dangerous airport for some reason) |
Tesla's new Battery Strategy, explained. | 8:09 | Curious Elephant | 4 | 3 | About the close relationship between Tesla and China |
Hydrogen Fuel Cell Cars Aren't The Dumbest Thing. But...Answers With Joe | 18:45 | Joe Scott | 4 | 3 | EC≫FCV>The story of a natural gas vehicle |
Some Silicon Valley residents want self-driving cars off of their streets | 5:44 | Washington Post | 3 | 3 | There is a backlash against autonomous driving. .. After all |
Why Buses Don't Have Seatbelts | 9:21 | BRIGHT SIDE | 2 | 2 | Basic story about the bus |
Can A Mercedes G-Wagon Actually Climb A 100% Grade? | 13:56 | Engineering Explained | 4 | 3 | G class is a wonderful car in both name and reality (I want it) |
Why Some Countries Are Poor and Others Rich | 8:47 | The School of Life | 2 | 4 | Understand the basics of poverty |
15 Things You Didn't Know About The Renewable Energy Industry | 13:33 | Alux.com | 3 | 3 | I learned that there are surprisingly many cities and companies that are made up of renewable energy. |
Why The Toyota Land Cruiser Is Disappearing From America | 14:40 | CNBC | 3 | 2 | Great car for both Land Cruiser and Land Rover (I want it) |
Why incompetent people think they're amazing - David Dunning | 5:07 | TED-Ed | 2 | 3 | Introducing the Dunning-Kruger effect. Humility is important. .. |
The Difference Between Gasoline And Hydrogen Engines | 14:19 | Engineering Explained | 3 | 4 | Space is the bottleneck for hydrogen. But there are surprisingly many factors in which hydrogen is superior. |
Why Tunnels Don't Collapse | 8:39 | Practical Engineering | 4 | 4 | Even though it is a small-scale experiment, it is very convincing when you actually see it. |
8 Most Destructive Mathematical Errors in History | 10:16 | They will Kill You | 4 | 4 | As an engineer, my spine is throbbing |
Do We Really Need 10-Speed Transmissions? | 9:41 | Engineering Explained | 3 | 4 | I was surprised that there were many other advantages. That ’s why it ’s used in luxury cars. |
Why Don't Scavengers Get Sick? | 2:47 | MinuteEarth | 5 | 3 | Wisdom to live. Also, the words in the video are difficult anyway |
These Names Can Kill Animals | 3:46 | MinuteEarth | 3 | 4 | The fact that the name alone changes this seems to be useful in real life. |
Why Volvo Is Losing Its Big Lead In Safety | 14:07 | CNBC | 4 | 3 | Interesting history of Volvo's commitment to safety |
Should You Warm Up Your Car Before Driving? | 3:04 | Engineering Explained | 3 | 4 | It's important to think about why it's so commonplace |
Michelin presented airless tires for production cars | 3:59 | Innovative Techs | 3 | 5 | Introducing the latest Michelin and Hancock tires. Looking forward to future evolution |
Top 10 Most Insane Machines You must see | 10:27 | Innovative Techs | 3 | 3 | Automatic milking machines and excavators for cables and pipes were personally interesting |
10 MOST AMAZING MACHINES | 10:41 | Innovative Techs | 3 | 4 | Car dismantling machines, racehorse training machines, truck bed hotels, and bridge survey machines were interesting. |
Top 10 Most Expensive SUVs In The World | 11:26 | Alux.com | 2 | 2 | If it's so high, you don't want it (I want it) |
Why SUVs Have Skyrocketed in Popularity | 10:10 | Alux.com | 3 | 2 | The basic story of an SUV |
4 Reasons Why The Rotary Engine Is Dead | 5:12 | Engineering Explained | 4 | 4 | Thermal efficiency is poor, fuel efficiency is poor, and engine oil management is difficult. .. Such |
5 Reasons Pushrod Engines Still Exist | 4:26 | Engineering Explained | 4 | 4 | There were unexpected advantages such as torque, size, weight, cost, etc. |
Are CVTs Bad? Why Mazda Avoids CVT Transmissions | 12:14 | Engineering Explained | 4 | 3 | The direct feeling of output is important for the realization of driving pleasure |
6 MOST INCREDIBLE WHEELS YOU’VE EVER SEEN | 10:04 | TechZone | 3 | 3 | Biodegradable tires, reconfigurable tires, spherical tires, etc. are interesting |
Sustainable Aquaculture | 4:02 | Science Animated | 4 | 3 | Illness is a great enemy in aquaculture |
Underwater farms vs. climate change - Ayana Johnson and Megan Davis | 4:31 | TED-Ed | 3 | 5 | Introducing various aquaculture methods and their advantages and disadvantages |
Below is a list of the books I read this year, limited to self-development and technical books. But few ... read more next year.
title | Usefulness | Impressions |
---|---|---|
GIVE & TAKE An era in which "giver" is successful | 5 | The best book I've read in the last few years. It became a guide for my future life |
Basics of system identification | 5 | Difficult, but one of the few books on system identification |
Zero-second thinking The simplest training in the world to get smarter | 5 | It is good that a concrete action plan is written. Next year's goal is to continue this |
Work technique that is not chased by work | 3 | It wasn't always possible to put it into practice, but I found some hints on how to get the job done efficiently. |
Start control system design with Arduino and MATLAB! | 5 | It costs a little to get the set, but I was able to learn the basics of control engineering and matlab. |
Based on the above, set the goals you want to achieve in 2020 as follows, and confirm the achievement rate one year later. (The purpose is to put pressure on myself by writing here) However, this is the current goal, so it is okay to change the plan with a reason.
No | Contents | Reason |
---|---|---|
1 | Post 3 or more control engineering stories | Because it's the edge of the control shop |
2 | Post 3 or more built-in material | Because it is an embedded shop |
3 | Post one or more machine learning stories | I'm inexperienced but interested |
4 | Post one or more image recognition material | I'm inexperienced but interested |
5 | C or C++Post 3 or more stories | Because it is an embedded shop+Because I want to learn object orientation |
6 | Post 3 or more python stories | Various conveniences when used + for machine learning |
7 | Post one or more Rust stories | I want to write C, which is considered dangerous, securely |
8 | Write your thoughts on paper every day (see Yuji Akabane, "Zero Second Thinking: The Simplest Training in the World to Get Smarter") | Intuitive but I felt it would be very useful & I also recommended a respected manager (President Makonari) |
9 | All Qiita posted material is random and does not proceed and starts after making a progress plan | Because I want to be able to manage my own progress on my own |
10 | Continue studying English every day | I want to get a job that uses English every day |
I'm worried if I can protect it because it's too good, but I'll do my best because it will be released.
The contents of the cautionary note in the toilet of the government office that I visited at the end of the year stuck in my chest, so I will spend 2020 with this in mind.
Recommended Posts