BLOG
06 December 2019

The Hacker’s Tribute Vol. 34: HTTP Security Configuration Using Lambdas

tech

Greetings, coders!

You’ve made it to another Friday and as the weekend is ahead, don’t forget to dig into the latest Hacker’s Tribute. The issue 34 tackles the challenges of public API in Kotlin, Chrome’s SMS Receiver API, HTTP security configuration using lambdas from the latest release of Spring Security 5.2, and Android summary of the good and the bad.

Read on and have a fantastic Friday!

Sincerely,

Dan’ the Man’ Kowalski

Editor-in-Chief, the Hacker’s Tribute

Facing public API challenges in Kotlin

Compared to today’s Java, Kotlin is being recognised for its concise structure. Unless your data class type is not going to change over time in public API, you may need to maintain source and binary compatibility. Here’s how to address public API challenges in Kotlin, using a well-known comparison of a JAVA “POJO” and Kotlin data class for illustration.

https://jakewharton.com/public-api-challenges-in-kotlin/

SMS Receiver API for Chrome

As the browsers’ capabilities expand, there are more and more integration possibilities. One of these is the Chrome’s implementation of an API that allows for an integration of a phone number with a domain, giving an access to SMS. This SMS Receiver API simplifies the OTP workflow for users.

https://web.dev/sms-receiver-api-announcement/

HTTP security configuration using lambdas

With the release of Spring Security 5.2, you may now increase the flexibility of HTTP security configuration using lambdas. As the prior configuration style is still an option, you may or may not choose the new feature. For a comparison of how this configuration styles compare, check the overview of Lambda DSL.

https://spring.io/blog/2019/11/21/spring-security-lambda-dsl

State of Android Development: 2019

Being an Android developer requires staying up to date with changing environment of native development for Android. As every 2-3 years Google releases new sets of recommendations, libraries and frameworks, it’s also good to sometimes take a moment to see what changed, and how. If you can relate to this, read the summary of native Android development:

https://www.techyourchance.com/the-state-of-native-android-development-november-2019/

Disturbing Android issues and how to fix them

Here are some more, but this time disturbing things from Android world. Learn about them, so you can avoid or fix them in your code. Anemic repositories, MVI and RxJava-induced design damage, and AAC ViewModel silently killing your app – check the link below to find solutions for these issues.

https://proandroiddev.com/anemic-repositories-mvi-and-rxjava-induced-design-damage-and-how-aac-viewmodel-is-silently-1762caa70e13

Knowledge is free and shared. We’re always on the lookout for new insights into the world of App Development. Get in touch with us, and we’ll give you a heads up on your next big idea.

We’ll be in touch with more news, as it happens!



Author

Hackers of the world dream to be him. And that’s an understatement. With methods decades ahead of cyberspace, he’s proceeded only by his own reputation. ‘The Man’ infamous for single-handedly causing the ’08 global financial meltdown, he dropped off-grid searching for purpose. He twice-dominated each of the Himalayan peaks, negotiated the rift valleys of Africa, and swam the Amazonian Basin end-to-end. It was in Siberia where we caught up to him – convincing him to work for the ‘good guys’. The veteran’s veteran of coding, now confidently within our ranks, is finally a force for good. Just don’t test him.