Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
HTTP is old, and over the ages lots of strange and interesting things had found it’s way into protocol. You’ll find more details in this post. Teaser:
- no-cache header actually means do cache
- What are the 1XX codes used for?
- Every websocket depends on the same UUID 258EAFA5-E914-47DA-95CA-C5AB0DC85B11. What?

#http #network #protocol
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
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
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 val reason: String is enough to describe an error?), but good enough.

#fp #monad #kotlin
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
.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
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
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
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