How to enable spell checking for German in PyCharm
Download German dictionary http://www.winedt.org/dict.html Unzip Put de_neu.dic into your project folder Preferences -> Editor -> Spelling -> Add Custom dictionary Select path for de_neu.dic Open Ok
Download German dictionary http://www.winedt.org/dict.html Unzip Put de_neu.dic into your project folder Preferences -> Editor -> Spelling -> Add Custom dictionary Select path for de_neu.dic Open Ok
Why is there a car in the picture? – Because it has class! Jokes aside, classes are still the building blocks of modern object oriented software design. And of course as the new kid on the block Kotlin has it’s own take on this subject. Declaration Let’s look at the most basic class declaration: class…
1901 Annie Jump Cannon constructed this classification: Class Temperature in K Color O >= 30000 blue B 10000 – 30000 blue white A 7500 -10000 white F 6000 – 7500 yellow white G 5200 – 6000 yellow K 3700 – 5200 light orange M 2400 – 3700 orange red Mnemoic: Oh, Be A Fine Galaxy,…
The version of the YouTube API service installed on this device is not valid. -> Update YouTube app 🙂
Dependency Add the following to your dependencies implementation(org.jetbrains.kotlinx:kotlinx-datetime:0.2.0) Usage import kotlinx.datetime.* val today = Clock.System.todayAt(TimeZone.currentSystemDefault()) If you target Android devices running below API 26, you need to use Android Gradle plugin 4.0 or newer and enable core library desugaring. https://github.com/Kotlin/kotlinx-datetime
The easiest way to add external dependencies with local jar files to your gradle is: dependencies { implementation(files(“libs/YouTubeAndroidPlayerApi.jar”)) If you don’t want to add every lib individually you can use: dependencies { implementation fileTree(‘libs’)
Kotlin has its own keyword to create list which are mutable As a child I learned that our solar system has nine planets val planets = mutableListOf(“Mercury”, “Venus”, “Earth”, “Mars”, “Jupiter”, “Saturn”, “Uranus”, “Neptune”, “Pluto”) println(planets) In 2006 Pluto was reclassified as a dwarf planet. So let’s remove Pluto planets.remove(“Pluto”) println(planets)
tl;dr; Length, time and Length measured in meters (1m), symbol L Time measured in seconds (1s), symbol T Mass measured in kilograms (1kg), symbol M Derived quntities e.g. [Speed] = [L] / [T]
Consider Volley a 2.0 version of Android Asynchronous Http Client. A major advantage of Volley over ASyncTask is that you can do multiple requests simultaneously without the overhead of thread management. Gradle Add implementation ‘com.android.volley:volley:1.2.1’ to your module gradle dependencies. Basic Anatomy of a Volley Request val queue = Volley.newRequestQueue(context) val stringRequest = StringRequest( Request.Method.GET,…
Beta decay is the process where a nucleon decays into either an electron or a positron. β− decay (electron emission) n → p + e− + ν A neutron decays into proton, an electron and an anti-neutrino. β+ decay (positron emission) p → n + e++ νe A proton decays into a neutron, a positron…