What's wrong with my font size? I'm using the same font and the same size across multiple editors, but it still doesn't look the same. Thanks to tonsky (yes, again!) now we know what's wrong.
This actually reminds me of that old anecdote about Space Shuttle booster rockets and two horses' back-ends.
#font #ui #text
This actually reminds me of that old anecdote about Space Shuttle booster rockets and two horses' back-ends.
#font #ui #text
tonsky.me
Font size is useless; let’s fix it
What happens when you set fontSize: 32 in your favorite editor
Non-empty Kotlin collections is something very obvious, something on the very tip of the tongue. This post describes one possible way to implement them.
#kotlin #collections
#kotlin #collections
QuickBird Studios
Non-Empty Lists in Kotlin
No-one likes to open an empty box! We use non-empty lists and collections in Kotlin to avoid such unpleasant surprises by design.
Esoteric programming languages are different. Some are frightening, like Madness. Some are funny, like FiM++. But I've never seen anything as disgusting as Folders. There are no source code files in Folders, just Windows folders hierarchy, and this hierarchy defines our program.
#humor #esoteric #language
#humor #esoteric #language
danieltemkin.com
Daniel Temkin | Folders Language
The idea to show explicitly in a return type that function can fail is not new, yet still not mainstream either. In this post author shows us how to implement such Result monad in Kotlin. The implementation itself is not perfect (in which universe
#fp #monad #kotlin
val reason: String is enough to describe an error?), but good enough. #fp #monad #kotlin
Medium
And the Result is a monad
Adding superpowers to a custom type
Fetching updated string resources without re-building the app is kind of an understandable desire. However, implementing this thing is surprisingly hard. Check out the frightening log of this journey in the post.
#strings #resources
#strings #resources
Medium
Auto fetching string resources
How to make PM’s dream come true
.flatMap, .filter and .reduce are nothing new these days. In this post you'll learn the .traverse. All these functional thingies are always interesting and fancy, but do they make our code more readable? I'm not sure. #fp
Medium
Advanced FP for the Enterprise Bee: Traverse
Introduction
There are a lot of different open source licenses out there, and it's kinda important to understand them. This resource will help you with that. The author explains popular licenses line-by-line, so that even regular people could understand all the conditions.
#oss #license #law
#oss #license #law
Kemitchell
/dev/lawyer
law, technology, and the space between
A repo with a bunch of links that'll help you to understand how the Kotlin compiler works.
#kotlin #compiler
#kotlin #compiler
GitHub
GitHub - ahinchman1/Kotlin-Compiler-Crash-Course: A repository of helpful sources to figure out what the Kotlin compiler really…
A repository of helpful sources to figure out what the Kotlin compiler really is - ahinchman1/Kotlin-Compiler-Crash-Course
An old post which is best described by it's title: The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets. Enjoy!
#text #unicode #encoding
#text #unicode #encoding
Joel on Software
The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
Ever wonder about that mysterious Content-Type tag? You know, the one you’re supposed to put in HTML and you never quite know what it should be? Did you ever get an email from your friends in…
I've never had that need, but yes, we can use Glide to load images for our WebView. Author mentions that it significantly improves performance. I wouldn't take it for granted, but would try to measure it.
#webview #glide #image
#webview #glide #image
Medium
Enhance Android WebView Performance using Glide.
Using WebViews in your native application is very common these days but when it comes to performance, rendering of a WebView is quite slow…
I really enjoy posts like that: author spotted an unscramble-the-words task in a local newspaper and without hesitations implemented solvers for it in three languages.
#algorithm #just4fun
#algorithm #just4fun
Stuff I've learned recently...
Solving the Daily Jumble
Solving a puzzle in Java, Groovy, and Kotlin. Also includes GraalVM and its native image tool.
Check out this new experimental tool by Google. It helps to analyze dependencies of different open source libraries. Maven support is already there!
#google #oss #deps
#google #oss #deps
Interruptions are frustrating to developers, it's a fact. In this post you'll find some trivial tips on minimizing them, but you'll also find a somewhat beautiful analogy between building a picture of a piece of code in your head and building a card tower, really liked that one.
#focus #programming
#focus #programming
Tellspin
Why interruptions are frustrating to developers | Tellspin blog
What's the real cost of interruptions? I illustrate all the context developers keep in their head and how it starts to decay immediately when interrupted.
That's an interesting move by Google: AppSearch alpha is out. It's kind of a document DB tailored for fast on-device full-text search.
#jetpack #library #appsearch
#jetpack #library #appsearch
Android Developers
AppSearch | Views | Android Developers
Well, this is huge! A number of severe vulnerabilities were discovered in apps pre-installed on Samsung devices. Possibilities are endless: from spying and reading any file to full control over the system.
#cybersec #samsung #vulnerability
#cybersec #samsung #vulnerability
News, Techniques & Guides
Two weeks of securing Samsung devices: Part 1
After spending two weeks looking for security bugs in the pre-installed apps on Samsung devices, we were able to find multiple dangerous vulnerabilities.
@istima shared a totally insane link: this guy has decided to reach "complete electronic independence" and has built: custom assembly language, custom assembler and custom CPU scheme. Moreover, now he threatens to physically build that custom processor. JUST BECAUSE HE CAN
#talk #cpu #assembler
#talk #cpu #assembler
YouTube
I designed my own 8-bit computer just to play PONG
welcome to this week's episode of "Reinventing the Wheel" with jdh
CODE: https://github.com/jdah/jdh-8
TWITTER: https://twitter.com/jdah__
PATREON: https://www.patreon.com/jdah
EDITOR: NeoVim
VIMRC: https://gist.github.com/jdah/4b4d98c2ced36eb07b017c4ae2c94bab…
CODE: https://github.com/jdah/jdh-8
TWITTER: https://twitter.com/jdah__
PATREON: https://www.patreon.com/jdah
EDITOR: NeoVim
VIMRC: https://gist.github.com/jdah/4b4d98c2ced36eb07b017c4ae2c94bab…
An entertaining talk with a brief history of different programming languages, a nice complement for your evening: "Why Isn't Functional Programming the Norm?"
#talk #fp #language
#talk #fp #language
YouTube
Why Isn't Functional Programming the Norm? – Richard Feldman
Richard is a member of the Elm core team, the author of Elm in Action from Manning Publications, and the instructor for the Intro to Elm and Advanced Elm courses on Frontend Masters. He's been writing Elm since 2014, and is the maintainer of several open…
And again, a short and simple post with a speaking title: "What Every Programmer Should Know About SSDs".
#ssd #hardware
#ssd #hardware
Blogspot
What Every Programmer Should Know About SSDs
A blog by and for database architects.