Discover what's new in Kotlin 1.2: syntax, standard library, performance and , of course, "Multiplatform project". Take closer look at how Kotlin authors see way of reusing code between platforms.
[HKOSCon 2020] Build an api service using ktor rapidlyShengyou Fan
Kotlin is not only for mobile development but also for backend (it could be used everywhere actually!). In JetBrains, we build Ktor framework for backend development such as website, API, microservice. In this talk, I will introduce what Ktor is, how to integrated with Exposed SQL library, demonstrate how to build a RESTful API service in just a few lines of code. After listening to this talk, you will learn how to build API with Ktor rapidly.
[HKOSCon 2020] Build an api service using ktor rapidlyShengyou Fan
Kotlin is not only for mobile development but also for backend (it could be used everywhere actually!). In JetBrains, we build Ktor framework for backend development such as website, API, microservice. In this talk, I will introduce what Ktor is, how to integrated with Exposed SQL library, demonstrate how to build a RESTful API service in just a few lines of code. After listening to this talk, you will learn how to build API with Ktor rapidly.
Multiplatform shared codebase with Kotlin/Native - UA Mobile 2019Eugene Kurko
f you want to share the code between Android and iOS but you don't feel like doing C++/JNI, React Native, Flutter, you must try Kotlin/Native! In this presentation we will see how Kotlin/Native is different and in some aspects superior, and how easy it becomes to develop, debug and maintain a common codebase with JetBrains tools and without sacrificing runtime performance.
Small Node.js proxy to turn a paginated JSON REST API into a CSV streaming download. Examples of code and patterns.
Presented at the London Node User Group meetup, April 2014
Ever wonder what this "new" Kotlin thing is? Curious what the syntax looks like? Unsure how to implement this at your own company? Or do you just want to know what Nick and Cody's favorite things are about this language?
All that and (maybe) more are revealed in Privet Kotlin.
Multiplatform shared codebase with Kotlin/Native - UA Mobile 2019Eugene Kurko
f you want to share the code between Android and iOS but you don't feel like doing C++/JNI, React Native, Flutter, you must try Kotlin/Native! In this presentation we will see how Kotlin/Native is different and in some aspects superior, and how easy it becomes to develop, debug and maintain a common codebase with JetBrains tools and without sacrificing runtime performance.
Small Node.js proxy to turn a paginated JSON REST API into a CSV streaming download. Examples of code and patterns.
Presented at the London Node User Group meetup, April 2014
Ever wonder what this "new" Kotlin thing is? Curious what the syntax looks like? Unsure how to implement this at your own company? Or do you just want to know what Nick and Cody's favorite things are about this language?
All that and (maybe) more are revealed in Privet Kotlin.
An introduction to Kotlin for advanced Android beginners, covering command-line compilation of Kotlin files, conditional logic, val/var, basic functions, higher order functions, recursion.
Kotlin: forse è la volta buona (Trento)Davide Cerbo
Il codice di esempio e disponibile qui: https://github.com/jesty/kotlin-fossavotabona
La variazione col DAO al posto del repository è disponibile qui:
https://github.com/jesty/kotlin-fossavotabona/tree/dao-companion-object
While Google is adding Kotlin as an official Android language, we're also expanding our research on this language. It’s developed by JetBrains, and the fact that these are the people behind a suite of IDEs, such as IntelliJ and ReSharper, really shines through in Kotlin. It’s pragmatic and concise and makes coding a satisfying and efficient experience.
Although Kotlin compiles to both JavaScript and soon machine code, I’ll focus on its prime environment, the JVM.
Please see my presentation to learn more!
Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.
The event will be led by Zoltan Domahidi (Senior Kotlin Software Engineer at Magyar Telekom).
This presentation shows tools and technologies used in Android Development such as Kotlin, Retrofit, and Room. It also shows different architectural patterns such as MVC, MVP, and MVVM
Golang basics for Java developers - Part 1Robert Stern
A short overview of Golang with Java comparison.
Part 1 of the series "Microservice development with Golang".
Contains hints and example links for potential Gophers
Kotlin is a statically typed programming language for the JVM, Android and the browser.
More and more in the Android community start using Kotlin, we’ll see why and how you can do it too.
Kotlin For Android - Functions (part 3 of 7)Gesh Markov
This presentation is part of a workshop series.
In this section you will learn about operators, inlining, a little bit about generics, named parameters, lambdas and closures, obtaining references to functions and passing them to other functions, and higher-order functions.
License:
This presentation is licensed under the Creative Commons, No Derivatives, Version 3.0 US: https://creativecommons.org/licenses/by-nd/3.0/us/legalcode
The Kotlin 101 presentation was the very first presentation of the Kotlin Usergroup Vienna (https://www.meetup.com/Kotlin-Vienna/), held at a meeting from the Java Student Usergroup in 2016 (https://www.meetup.com/Java-Vienna/). It explains the raw (syntactical) fundamentals of the language targeting a Java developer audience.
ave time learning on your own. Start Building with React, MongoDB, Express, & Node. The MERN Stack.
Learning a new JavaScript framework is difficult. You can spend weeks learning new concepts. If an online example doesn’t work, you may spend countless hours Googling, searching Stack Overflow and blogs for the solution.
Take the fast track and learn from an experienced Senior Software Engineer and professional instructor!
About this Course
This highly interactive course features a large amount of student labs and hands-on coding. You will be taught how to assemble the complete stack required to build a modern web app using React.js, MongoDB (a NoSQL database) and Express (a framework for web application servers). This course will also cover many other tools that go into building a complete web application: React Router, React-Bootstrap, Redux, Babel, and Webpack.
What You Will Learn
• How to use modern JavaScript features
• Webpack
• Node & Express
• Reading and writing data to a MongoDB database
• Babel
• React
• State Management with Redux
• Mongoose
• And More!
Slides from my talk at the Feb 2011 Seattle Tech Startups meeting. More info here (along with powerpoint slides): http://www.startupmonkeys.com/2011/02/scala-frugal-mechanic/
Similar to Kotlin 1.2: Sharing code between platforms (20)
As a part of kotlinx.coroutines 1.2 Flow was introduced as a cold asynchronous data stream. How does it work? What we can do with it? Is it that we waiting so long for replacing Rx? The talk has answers to them.
Best practises how to reduce Android application install size & improve your app install conversation rate. Video can be found here youtu.be/ksgW-VHH-Qo
ConstraintLayout. Fell the Power of constraintsKirill Rozov
Talk about ConstraintLayout and visual Layout Editor in Android Studio 3.0.
Project that was showed on talk https://github.com/kirich1409/ConstrinatLayoutIntro.
Java имеет огромное множество книг о том как правильно писать код на этом языке, какие практити стоит использовать из раза в раз для реализации стандартных паттернов программирования. За 25 лет своей истории Java накопила много проблем. Доклад проливает свет как Kotlin решает проблемы, которые есть в Java и делает программистов счастливыми снова.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxnikitacareer3
Looking for the best engineering colleges in Jaipur for 2024?
Check out our list of the top 10 B.Tech colleges to help you make the right choice for your future career!
1) MNIT
2) MANIPAL UNIV
3) LNMIIT
4) NIMS UNIV
5) JECRC
6) VIVEKANANDA GLOBAL UNIV
7) BIT JAIPUR
8) APEX UNIV
9) AMITY UNIV.
10) JNU
TO KNOW MORE ABOUT COLLEGES, FEES AND PLACEMENT, WATCH THE FULL VIDEO GIVEN BELOW ON "TOP 10 B TECH COLLEGES IN JAIPUR"
https://www.youtube.com/watch?v=vSNje0MBh7g
VISIT CAREER MANTRA PORTAL TO KNOW MORE ABOUT COLLEGES/UNIVERSITITES in Jaipur:
https://careermantra.net/colleges/3378/Jaipur/b-tech
Get all the information you need to plan your next steps in your medical career with Career Mantra!
https://careermantra.net/
Using recycled concrete aggregates (RCA) for pavements is crucial to achieving sustainability. Implementing RCA for new pavement can minimize carbon footprint, conserve natural resources, reduce harmful emissions, and lower life cycle costs. Compared to natural aggregate (NA), RCA pavement has fewer comprehensive studies and sustainability assessments.
HEAP SORT ILLUSTRATED WITH HEAPIFY, BUILD HEAP FOR DYNAMIC ARRAYS.
Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to the selection sort where we first find the minimum element and place the minimum element at the beginning. Repeat the same process for the remaining elements.
Online aptitude test management system project report.pdfKamal Acharya
The purpose of on-line aptitude test system is to take online test in an efficient manner and no time wasting for checking the paper. The main objective of on-line aptitude test system is to efficiently evaluate the candidate thoroughly through a fully automated system that not only saves lot of time but also gives fast results. For students they give papers according to their convenience and time and there is no need of using extra thing like paper, pen etc. This can be used in educational institutions as well as in corporate world. Can be used anywhere any time as it is a web based application (user Location doesn’t matter). No restriction that examiner has to be present when the candidate takes the test.
Every time when lecturers/professors need to conduct examinations they have to sit down think about the questions and then create a whole new set of questions for each and every exam. In some cases the professor may want to give an open book online exam that is the student can take the exam any time anywhere, but the student might have to answer the questions in a limited time period. The professor may want to change the sequence of questions for every student. The problem that a student has is whenever a date for the exam is declared the student has to take it and there is no way he can take it at some other time. This project will create an interface for the examiner to create and store questions in a repository. It will also create an interface for the student to take examinations at his convenience and the questions and/or exams may be timed. Thereby creating an application which can be used by examiners and examinee’s simultaneously.
Examination System is very useful for Teachers/Professors. As in the teaching profession, you are responsible for writing question papers. In the conventional method, you write the question paper on paper, keep question papers separate from answers and all this information you have to keep in a locker to avoid unauthorized access. Using the Examination System you can create a question paper and everything will be written to a single exam file in encrypted format. You can set the General and Administrator password to avoid unauthorized access to your question paper. Every time you start the examination, the program shuffles all the questions and selects them randomly from the database, which reduces the chances of memorizing the questions.
Water billing management system project report.pdfKamal Acharya
Our project entitled “Water Billing Management System” aims is to generate Water bill with all the charges and penalty. Manual system that is employed is extremely laborious and quite inadequate. It only makes the process more difficult and hard.
The aim of our project is to develop a system that is meant to partially computerize the work performed in the Water Board like generating monthly Water bill, record of consuming unit of water, store record of the customer and previous unpaid record.
We used HTML/PHP as front end and MYSQL as back end for developing our project. HTML is primarily a visual design environment. We can create a android application by designing the form and that make up the user interface. Adding android application code to the form and the objects such as buttons and text boxes on them and adding any required support code in additional modular.
MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software. It is a stable ,reliable and the powerful solution with the advanced features and advantages which are as follows: Data Security.MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software.
4. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
* Based on information from Stackoverflow
** In development
5. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
• Support in Spring 5.0
* Based on information from Stackoverflow
** In development
6. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
• Support in Spring 5.0
• Gradle Kotlin DSL
* Based on information from Stackoverflow
** In development
7. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
• Support in Spring 5.0
• Gradle Kotlin DSL
• Fastest-growing and one of the least-disliked languages*
* Based on information from Stackoverflow
** In development
8. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
• Support in Spring 5.0
• Gradle Kotlin DSL
• Fastest-growing and one of the least-disliked languages*
• Support of JVM, JS, Native**
* Based on information from Stackoverflow
** In development
9. Kotlin Achievements
• Official language on Android
• More than 17% projects in Android Studio 3.0
• Support in Spring 5.0
• Gradle Kotlin DSL
• Fastest-growing and one of the least-disliked languages*
• Support of JVM, JS, Native**
• Kotlin Conf
* Based on information from Stackoverflow
** In development
19. Casts improvements
// Kotlin 1.1
val button = findViewById<View>(R.id.button) as Button
// Kotlin 1.2
val button = findViewById(R.id.button) as Button
20. Casts improvements
// Kotlin 1.1
val s : Any = …
val firstChar = (s as? CharSequence)?.firstOrNull()
if (firstChar != null) {
s as CharSequence
return s.count { it == firstChar }
}
21. Casts improvements
// Kotlin 1.2
if (firstChar != null) {
// s: Any is smart cast to CharSequence
return s.count { it == firstChar }
}
// Kotlin 1.1
val s : Any = …
val firstChar = (s as? CharSequence)?.firstOrNull()
if (firstChar != null) {
s as CharSequence
return s.count { it == firstChar }
}
25. Java 9 Support
• Compatible with the Java 9 module system (Project Jigsaw)
New artifacts kotlin-stdlib-jdkN
• Deprecated declaration in kotlin.reflect package were
removed
Use declarations in kotlin.reflect.full package instead
35. fill, replaceAll, shuffle
val items = mutableListOf(0, 1, 2, 3, 5, 8)
items.shuffle() // [3, 8, 5, 0, 2, 1]. Output can be different
Only for MutableList<T>
36. fill, replaceAll, shuffle
val items = mutableListOf(0, 1, 2, 3, 5, 8)
items.shuffle() // [3, 8, 5, 0, 2, 1]. Output can be different
items.replaceAll { it * 2 } // [0, 2, 4, 6, 10, 16]
Only for MutableList<T>
37. fill, replaceAll, shuffle
val items = mutableListOf(0, 1, 2, 3, 5, 8)
items.shuffle() // [3, 8, 5, 0, 2, 1]. Output can be different
items.replaceAll { it * 2 } // [0, 2, 4, 6, 10, 16]
items.fill(5) // [5, 5, 5, 5, 5, 5]
Only for MutableList<T>
38. Standard library
• Fully compatibility with Java 9 module system
• New extensions for collections
39. Standard library
• Fully compatibility with Java 9 module system
• New extensions for collections
• Math operations
40. Standard library
• Fully compatibility with Java 9 module system
• New extensions for collections
• Math operations
• Operators and conversions for BigInteger and BigDecimal
• Floating point to bits conversions
• Regex is now Serializable
• Closeable.use() calls Throwable.addSuppressed() (JDK 7+)
41. Java
• Constructor calls normalization
• Java-default methods calls
• Breaking changes:
• Consistent behaviour of x.equals(null) for platform types
• Added check of receiver in inline extension functions that
were called on a null value of a platform type
• Smart cast inside try block after the block made more strict
42. Deprecation
• Mutating backing field of read-only property
• Override copy() in data classes
• Not inner classes in enum entries
• Passing a single item for a vararg parameter in the named
form
• Inner classes of generic classes extending Throwable
43. Other
• Support for ::foo as a shorthand for this::foo
• JS TypedArrays support for Kotlin primitive array (IntArray,
FloatArray, etc) enabled by default
• The Kotlin compiler now provides an option to treat all
warnings as errors
• Support in Kotlin Native 0.4
47. expect & actual
// expected platform-specific API
expect fun hello(world: String) Common
// actual JVM implementation
actual fun hello(world: String) =
println(“Hello, $world, on the JVM!") JVM
// actual JS implementation
actual fun hello(world: String) =
console.log("Hello, $world, on the JS!") JS
48. expect class Date() {
fun getDate(): Int
fun getMonth(): Int
} Common
actual class Date {
private val calendar: Calendar
actual constructor() {
calendar = Calendar.getInstance()
}
actual fun getDate() = calendar[DAY_OF_MONTH]
actual fun getMonth() = calendar[MONTH]
} JVM
actual external class Date {
actual fun getDate(): Int
actual fun getMonth(): Int
} JS
52. Common modules
• Test
Run test both on Java & JS platforms
• Serialization
Marshal Kotlin objects between different tiers of your application, based on JSON or ProtoBuf as
serialization format
• HTML
The same code to render HTML in the backend and in the frontend
56. Summary
• Allow to write parts of app in same language
• Interoperability on supported platforms
57. Summary
• Allow to write parts of app in same language
• Interoperability on supported platforms
• Shared business logic
58. Summary
• Allow to write parts of app in same language
• Interoperability on supported platforms
• Shared business logic
• UI is platform-specific
59. Summary
• Allow to write parts of app in same language
• Interoperability on supported platforms
• Shared business logic
• UI is platform-specific
• JVM/JS code reuse already worked, Native coming soon
60. Summary
• Allow to write parts of app in same language
• Interoperability on supported platforms
• Shared business logic
• UI is platform-specific
• JVM/JS code reuse already worked, Native coming soon
• Support of Multiplatform projects in IDEA 2017.3