Wednesday, September 15, 2021

HOW GOOD IS GODD ENOUGH? By H.P. Schoener (On quantitative evaluation of functionalities in self-driving vehicles)

最近在寫論文的前言與動機的部分,看了一篇有趣的文章。這邊簡單做個重點紀錄供日後閱讀。

1. “How Good is Good Enough?“ in Autonomous Driving? by H.P. Schoener
本文提出一個量化自駕車功能"是否夠好"的方法。

自動駕駛就是把人類開車時95%會做對的事情自動化,把剩下5%最小化。據統計,德國高速公路(Autobahn)平均每行駛750萬公里會有一次S0等級(S0是最輕微的)事故,也就是說自駕車測試至少要跑750萬公里且不能發生任何事故。
五大常見的意外起因:

德國汽車產業近年的困境

註:本文於2020年九月完成,時隔一年才發布,但是疫情還沒結束,所以內容都適用啦~

最近因為corona疫情影響,德國汽車產業備受打擊,政府出手Kaufprämie(消費津貼)救車市,否則會有更多人失業...到底為什麼德國舉世聞名的汽車產業會面臨這窘境呢? 除了疫情影響,其實原本產業就不太好? 本文會簡單介紹一下我的看法。

Tuesday, September 14, 2021

Generics in Java

What are Generics?

Enable us to parameterize the type of variables in a class or interface by its definition, so code can be reused for more general types of inputs. Moreover, the type of variables would be checked more thoroughly at compile time, so errors in run-time due to misinterpretation of data are minimized.

Wednesday, August 25, 2021

About Collections and Maps in Java

Today we are gonna have a brief view over the Collection and Map interfaces in Java:

As following diagram shows, while they are all used to save a group of objects of same types, Sets, Lists, Queues and Deques belong to the Collection interface, whereas Maps have their own interface.

Reference: https://www.codejava.net/java-core/collections/java-map-collection-tutorial-and-examples

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

Friday, August 20, 2021

"Final" Keyword, Immutability and Thread Safety in Java

關於Java的Final關鍵字,Immutability與Thread Safety

1. Definition of "Thread safety": Multiple threads will access a shared object coordinately such that unsaved changes made by one thread would not be overwritten by the other.

How to achieve thread safety?