Elm is about making delightful projects. [...] Projects you are excited to share. Projects that get you excited about programming! That means I am always asking myself how Elm can be simpler. How can it be easier to learn? More fun? Quicker for prototyping? More reliable? I think my obsession with these questions are the heart of Elm's design philosophy and Elm's success.
healing doesn’t happen in a linear manner, but in an ever-outward spiral; you will find yourself in the same place, but in a slightly different one, again and again
Have you heard the buzz? Applied category theory is gaining ground! But, you ask, what is applied category theory? Upon first seeing those words, I suspect many folks might think either one of two thoughts: 1. Applied category theory? Isn't that an oxymoron? or 2. Applied category theory? What's the hoopla? Hasn't category theory always been applied? (Visit the blog to read more!)
In type theory, an uninhabited type is often called a bottom type, and written as ⊥. A bottom type is a subtype of every other type. So `Never` would be an `Int` and a `String` and a `UIViewController` and every other type. The opposite is the top type (⊤), the supertype of every other type. In Swift, that’s `Any`.
This is "GORUCO 2014 - Samantha John, Jason Brennan - Designing a better Programmer Community" by Gotham Ruby Conference on Vimeo, the home for high quality…
Protocol-oriented programming is strongly recommended in the Swift community, and Apple has given a lot of guidance on how to use it in your everyday code. However, there has not been a lot of attention on when it is not appropriate, and what to do in that case. We will explore this idea, and show that there is a completely straightforward and mechanical way to translate any protocol into a concrete datatype. Once you do this you can still write your code much like you would with protocols, but all of the complexity inherit in protocols go away. Even more amazing, a new type of composition appears that is difficult to see when dealing with only protocols. We will also demo a real life, open source library that was originally written in the protocol-oriented way, but after running into many problems with the protocols, it was rewritten entirely in this witness-oriented way. The outcome was really surprising, and really powerful.
https://twitter.com/mbrandonw
https://appbuilders.ch
The closest professions to teaching are stage acting and stand-up comedy. Learn how they do it. [D]on’t focus on subtleties that interest you; focus on your audience.
More and more, I try to live in harmony with the seasons, not the clock. It turns out that in northern Norway, “people view winter as something to be enjoyed, not something to be endured,” says Leibowitz, and that makes all the difference. “there’s no such thing as bad weather, only bad clothing”
The system, then, does not particularly care for the individual user as much as it thrives on the decomposition and recomposition of the data that users provide Being shown what you are “supposed” to see is central to what social media offer (the promise of self-expression is mainly an alibi for that larger surrender to algorithmic recommendation); they allow us to consume that passivity toward what we want as pleasurable in itself.
🎬 The source for www.pointfree.co, a video series on functional programming and the Swift programming language. - Better exercise solutions (h/t @sharplet) · pointfreeco/pointfreeco@78fc3d1
Some Swift libraries, such as ReactiveSwift and RxSugar, implement the is defined in the standard library, but with a caveat: // Workaround for SubTLF: Default ...
We have a responsibility to learn the underpinnings of the standard of living we all enjoy. To understand and appreciate how we got here, and what it took. And ultimately, to keep it going
To hold someone's attention with a blank slate, all that's necessary is to put another blank slate beside it. You don't have to write anything on either of them. I start to think about the many selves I project, and how the phones work to align them beside themselves, inviting comparison.
I don’t want to suggest that we should resist change entirely. I do think we can be thoughtful about the rate of change that we introduce. I also think it’s a choice, rather than an inevitability, to drop bombs that throw an entire ecosystem off-balance. I tend to interpret this dismissiveness as a way of saying, “We don’t want to become a ‘thing’ because ‘things’ are destroyable by outsiders.” Avoiding labels is a way of keeping hidden cities away from the colonizers, like a nomadic tribe on the move.
i let summer take over the house for however long it needs --- making their way from meal to meal across the sky --- it’s not quite true that every car should stop while a poem is in operation but try to tell me it wouldn’t be nice
The problem, and it’s obvious, is that whatever sucks that I’m running away from will be there once I stop working. or doing things like not being available on the weekends, because they’re the weekends.